lumnisai 0.5.42 → 0.5.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1044,6 +1044,12 @@ class CrmResource {
1044
1044
  * details through `accountRef`. Provider degradation and unknown deal stages
1045
1045
  * are returned explicitly and must not be treated as safe negative results.
1046
1046
  *
1047
+ * Capped at 100 candidates per request; chunk longer lists and reassemble by
1048
+ * `inputKey`. Provider selection comes from the resolved owner's active
1049
+ * HubSpot/Attio connections: no active supported connection is
1050
+ * `409 crm_not_connected`, and a connection-verification failure is a
1051
+ * retryable `503 crm_connection_status_unavailable`.
1052
+ *
1047
1053
  * @example
1048
1054
  * ```typescript
1049
1055
  * const context = await client.crm.accountContextBatch({
@@ -3242,7 +3248,13 @@ class ResponsesResource {
3242
3248
  throw new ValidationError("criteria_definitions cannot be empty");
3243
3249
  const criterionIds = /* @__PURE__ */ new Set();
3244
3250
  const columnNames = /* @__PURE__ */ new Set();
3245
- const validTypes = ["universal", "varying", "validation_only"];
3251
+ const validTypes = [
3252
+ "universal",
3253
+ "post_hard",
3254
+ "varying",
3255
+ "post_soft",
3256
+ "validation_only"
3257
+ ];
3246
3258
  criteriaDefinitions.forEach((criterion, index) => {
3247
3259
  if (!this._isPlainObject(criterion))
3248
3260
  throw new ValidationError(`Criterion ${index} must be an object`);
@@ -3276,7 +3288,9 @@ class ResponsesResource {
3276
3288
  if (!this._isPlainObject(criteriaClassification))
3277
3289
  throw new ValidationError("criteria_classification must be an object");
3278
3290
  const universalCriteria = this._getParamValue(criteriaClassification, "universalCriteria", "universal_criteria");
3291
+ const postHardCriteria = this._getParamValue(criteriaClassification, "postHardCriteria", "post_hard_criteria");
3279
3292
  const varyingCriteria = this._getParamValue(criteriaClassification, "varyingCriteria", "varying_criteria");
3293
+ const postSoftCriteria = this._getParamValue(criteriaClassification, "postSoftCriteria", "post_soft_criteria");
3280
3294
  const validationOnlyCriteria = this._getParamValue(criteriaClassification, "validationOnlyCriteria", "validation_only_criteria");
3281
3295
  if (!Array.isArray(universalCriteria))
3282
3296
  throw new ValidationError("criteria_classification missing or invalid universal_criteria");
@@ -3284,6 +3298,10 @@ class ResponsesResource {
3284
3298
  throw new ValidationError("criteria_classification missing or invalid varying_criteria");
3285
3299
  if (!Array.isArray(validationOnlyCriteria))
3286
3300
  throw new ValidationError("criteria_classification missing or invalid validation_only_criteria");
3301
+ if (postHardCriteria !== void 0 && !Array.isArray(postHardCriteria))
3302
+ throw new ValidationError("criteria_classification has invalid post_hard_criteria");
3303
+ if (postSoftCriteria !== void 0 && !Array.isArray(postSoftCriteria))
3304
+ throw new ValidationError("criteria_classification has invalid post_soft_criteria");
3287
3305
  }
3288
3306
  _validateCompetitorPostEngagementParams(params) {
3289
3307
  const company = this._getParamValue(params, "company", "company");
package/dist/index.d.cts CHANGED
@@ -2322,7 +2322,7 @@ interface AgentConfig {
2322
2322
  interface ModelOverrides {
2323
2323
  [key: string]: string;
2324
2324
  }
2325
- type CriterionType = 'universal' | 'varying' | 'validation_only';
2325
+ type CriterionType = 'universal' | 'post_hard' | 'varying' | 'post_soft' | 'validation_only';
2326
2326
  type ColumnKind = 'extraction' | 'verdict';
2327
2327
  /** SLM relevance reranker tier (deep_people_search / people_scoring output). */
2328
2328
  type RelevanceTier = 'STRONG_MATCH' | 'PARTIAL_MATCH' | 'WEAK_MATCH';
@@ -2332,6 +2332,14 @@ interface CriterionDefinition {
2332
2332
  criterionText: string;
2333
2333
  criterionType: CriterionType;
2334
2334
  weight: number;
2335
+ /** Exact user-prompt clause supporting the generated criterion, when available. */
2336
+ sourceClauseQuote?: string;
2337
+ /** The grounded fidelity audit edited, retyped, or added this criterion. */
2338
+ auditMutated?: 'edited' | 'edited+retyped' | 'added';
2339
+ /** The deterministic source-clause strength guard retyped this criterion. */
2340
+ strengthGuardMutated?: boolean;
2341
+ /** Machine-readable explanation for a deterministic strength retype. */
2342
+ strengthGuardReason?: string;
2335
2343
  /** Expected answer shape for an extraction column. */
2336
2344
  answerFormat?: string;
2337
2345
  /** Whether this criterion extracts a value or produces a score-bearing verdict. */
@@ -2347,10 +2355,14 @@ interface CriterionDefinition {
2347
2355
  }
2348
2356
  interface CriteriaClassification {
2349
2357
  universalCriteria: CriterionDefinition[];
2358
+ postHardCriteria?: CriterionDefinition[];
2350
2359
  varyingCriteria: CriterionDefinition[];
2360
+ postSoftCriteria?: CriterionDefinition[];
2351
2361
  validationOnlyCriteria: CriterionDefinition[];
2352
2362
  universalReasoning?: string;
2363
+ postHardReasoning?: string;
2353
2364
  varyingReasoning?: string;
2365
+ postSoftReasoning?: string;
2354
2366
  validationReasoning?: string;
2355
2367
  }
2356
2368
  interface AddCriterionRequest {
@@ -2419,7 +2431,7 @@ interface EvidenceSource {
2419
2431
  interface CriterionResult {
2420
2432
  /** Unique identifier matching criteria definition */
2421
2433
  criterionId: string;
2422
- /** Type: universal, varying, or validation_only */
2434
+ /** Type encodes both requirement strength and evaluation stage. */
2423
2435
  criterionType: CriterionType;
2424
2436
  /** Column name for display */
2425
2437
  columnName: string;
@@ -2605,6 +2617,13 @@ interface ValidatedCandidate {
2605
2617
  * This affects scoring and routing but no longer forces a lower delivery tier.
2606
2618
  */
2607
2619
  anyUniversalFailed?: boolean;
2620
+ /**
2621
+ * Legacy-named aggregate: true when any universal or post_hard criterion
2622
+ * could not be decided from sufficient evidence.
2623
+ */
2624
+ anyUniversalUncertain?: boolean;
2625
+ /** Explicit alias for anyUniversalUncertain covering every hard criterion. */
2626
+ anyHardUncertain?: boolean;
2608
2627
  /**
2609
2628
  * True when promoted from excluded to meet the requested count despite failing hard
2610
2629
  * criteria. This is useful for display and auditing but no longer forces a lower rank tier.
@@ -2643,11 +2662,16 @@ interface ValidatedCandidate {
2643
2662
  jobCount?: number;
2644
2663
  signalSource?: string;
2645
2664
  sampleJobListings?: Array<{
2665
+ jobId?: string | number | null;
2646
2666
  title?: string;
2647
2667
  description?: string;
2648
2668
  workplaceType?: string;
2649
2669
  country?: string;
2650
2670
  dateAdded?: string;
2671
+ dateUpdated?: string;
2672
+ checkedAt?: string;
2673
+ url?: string | null;
2674
+ source?: string | null;
2651
2675
  }>;
2652
2676
  };
2653
2677
  /** Raw profile data */
@@ -4593,6 +4617,8 @@ type CrmAccountContextMatchMethod = 'exact_person_association' | 'exact_domain'
4593
4617
  type CrmAccountContextMatchConfidence = 'high' | 'medium' | 'low' | 'none';
4594
4618
  type CrmAccountContextAssociationKind = 'direct' | 'via_contact';
4595
4619
  type CrmAccountContextAssociationConfidence = 'high' | 'medium' | 'low';
4620
+ /** How precisely the deal-stage transition time was determined. */
4621
+ type CrmAccountContextStageChangeTimePrecision = 'provider_timestamp' | 'observed';
4596
4622
  /**
4597
4623
  * Stable candidate identity plus the best grounded current-company identity.
4598
4624
  *
@@ -4611,7 +4637,8 @@ interface CrmAccountContextCandidateInput {
4611
4637
  }
4612
4638
  /**
4613
4639
  * Query exact-person and account/deal context across all configured CRMs.
4614
- * The backend accepts 1..1000 candidates per request.
4640
+ * The backend accepts 1..100 candidates per request; chunk longer lists
4641
+ * client-side and reassemble by `inputKey`.
4615
4642
  */
4616
4643
  interface CrmAccountContextBatchRequest {
4617
4644
  /** UUID or email of the CRM owner whose context is queried. */
@@ -4651,8 +4678,20 @@ interface CrmAccountContextDealSummary {
4651
4678
  stageId: string;
4652
4679
  stageLabel: string;
4653
4680
  stageClass: CrmAccountContextStageClass;
4681
+ /** Previous native pipeline/stage values; absent on the first observation. */
4682
+ previousPipelineId?: string | null;
4683
+ previousPipelineLabel?: string | null;
4684
+ previousStageId?: string | null;
4685
+ previousStageLabel?: string | null;
4686
+ /** ISO-8601 timestamp for the latest observed or provider-reported transition. */
4687
+ stageChangedAt?: string | null;
4688
+ stageChangeTimePrecision?: CrmAccountContextStageChangeTimePrecision | null;
4654
4689
  associationKind: CrmAccountContextAssociationKind;
4655
4690
  associationConfidence: CrmAccountContextAssociationConfidence;
4691
+ /** Provider-native amount representation. */
4692
+ amount?: string | null;
4693
+ /** ISO-8601 timestamp. */
4694
+ closeDate?: string | null;
4656
4695
  participantCount: number;
4657
4696
  participantPreview: CrmAccountContextPersonPreview[];
4658
4697
  }
@@ -4663,6 +4702,12 @@ interface CrmAccountContextDetail {
4663
4702
  accountId: string;
4664
4703
  displayName: string;
4665
4704
  recordUrl?: string | null;
4705
+ domains: string[];
4706
+ linkedinUrl?: string | null;
4707
+ website?: string | null;
4708
+ industry?: string | null;
4709
+ location?: string | null;
4710
+ lifecycleStage?: string | null;
4666
4711
  contactCount: number;
4667
4712
  contactPreview: CrmAccountContextPersonPreview[];
4668
4713
  dealCount: number;
@@ -4710,8 +4755,9 @@ interface CrmAccountContextBatchResponse {
4710
4755
  * - `502 crm_upstream_error` — Attio/HubSpot returned an error.
4711
4756
  * - `503 crm_upstream_rate_limited` — upstream rate-limit; the response
4712
4757
  * includes a `Retry-After` header.
4713
- * - `503 account_context_not_configured` — account-context serving data is not
4714
- * configured for the requested CRM owner.
4758
+ * - `503 crm_connection_status_unavailable` (account context) — the provider
4759
+ * connection status could not be verified. Retryable; the response includes
4760
+ * a `Retry-After` header. Distinct from `409 crm_not_connected`.
4715
4761
  */
4716
4762
  declare class CrmResource {
4717
4763
  private readonly http;
@@ -4782,6 +4828,12 @@ declare class CrmResource {
4782
4828
  * details through `accountRef`. Provider degradation and unknown deal stages
4783
4829
  * are returned explicitly and must not be treated as safe negative results.
4784
4830
  *
4831
+ * Capped at 100 candidates per request; chunk longer lists and reassemble by
4832
+ * `inputKey`. Provider selection comes from the resolved owner's active
4833
+ * HubSpot/Attio connections: no active supported connection is
4834
+ * `409 crm_not_connected`, and a connection-verification failure is a
4835
+ * retryable `503 crm_connection_status_unavailable`.
4836
+ *
4785
4837
  * @example
4786
4838
  * ```typescript
4787
4839
  * const context = await client.crm.accountContextBatch({
@@ -9297,4 +9349,4 @@ declare class ProgressTracker {
9297
9349
  */
9298
9350
  declare function verifyWebhookSignature(payload: string, signature: string, secret: string): boolean;
9299
9351
 
9300
- export { ACTION_DELAYS, type ActionLimit, type ActiveHours, type AddAndRunCriterionRequest, type AddCriterionRequest, type AddOrgMemberRequest, type AddOrgMemberResponse, type AddPersonaRequest, type AddPersonaResponse, type AddProspectsRequest, type AddProspectsResponse, type AgentConfig, type AgentCostStats, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, type ApprovalActionRequest, type ApprovalItem, type ApprovalListResponse, type ApprovalMode, type ApprovalResponse, type ApprovalSettings, type ApprovalStatus, type ApprovalsParams, type ApprovalsRequestItem, type ApprovalsResponseItem, type ApproveStepRequest, type AppsListResponse, type ArtifactObject, type ArtifactsListResponse, AuthenticationError, type BaseResource, type BatchCheckConnectionRequest, type BatchCheckPriorContactRequest, type BatchCheckPriorContactResponse, type BatchConnectionRequest, type BatchConnectionResponse, type BatchConnectionStatus, type BatchConnectionStatusResponse, type BatchDraftCompleteData, type BatchDraftCreatedData, type BatchDraftErrorData, type BatchDraftJobProgress, type BatchDraftJobResponse, type BatchDraftJobStartedData, type BatchDraftJobStatusResponse, type BatchDraftProgressData, type BatchDraftRequest, type BatchDraftResponse, type BatchDraftStreamCallbacks, type BatchDraftStreamEvent, type BatchDraftStreamEventType, type BatchExecutionInclude, type BatchExecutionRequest, type BatchExecutionResponse, BatchJobStatus, type BatchPollRequest, type BatchPollResponse, type BatchProspectIdentifier, type BatchRequestItem, type BatchRequestType, type BatchResponseItem, type BatchSendRequest, type BatchSendResponse, type BatchStepMetric, type BillingStatus, type BulkApprovalAction, type BulkApprovalFailure, type BulkApprovalRequest, type BulkApprovalResponse, type BulkCompleteFailure, type BulkCompleteRequest, type BulkCompleteResponse, type BulkDeleteRequest, type BulkDeleteResponse, type BulkOperationRequest, type BulkOperationResponse, type BulkUploadResponse, CONTENT_LIMITS, CONTENT_LIMITS_MAP, type CampaignActionListResponse, type CampaignActionResponse, type CampaignActionStatus, type CampaignActionType, type CampaignAssetUpsertItem, type CampaignAssetUpsertRequest, type CampaignBulkApprovalAction, type CampaignBulkApprovalItem, type CampaignBulkApprovalRequest, type CampaignBulkApprovalResponse, type CampaignBulkApprovalResult, type CampaignCreate, type CampaignGuardrails, type CampaignListResponse, type CampaignMetricsResponse, type CampaignOutcomeType, type CampaignProspectDetailResponse, type CampaignProspectInput, type CampaignProspectResponse, type CampaignProspectState, type CampaignResponse, type CampaignStatus, type CampaignUpdate, CampaignsResource, type CancelDraftResponse, type CancelQueuedRequest, type CancelResponseResponse, type Channel, type ChannelContactHistory, type ChannelFunnel, type ChannelRatios, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type ColumnKind, type CompanyIntelligenceOptions, type CompanyIntelligenceOutput, type CompanyIntelligenceResolvedParams, type CompanyIntelligenceStats, type CompanyReportSubject, type CompetitorPostEngagementOutput, type CompetitorRepEngagementOutput, type CompleteExecutionRequest, type CompleteExecutionResponse, type ConnectInboxRequest, type ConnectInboxResponse, type Connection, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ConnectionsResponse, type ConnectionsSyncStatus, type ContactDetailsInput, type ContactEnrichPersonInput, type ContactEnrichPersonResult, type ContactEnrichRequest, type ContactEnrichResponse, type ContactFinding, type ContactHistorySyncStatus, type ContactRelationshipProvider, type ContactRelationshipResponse, type ContactRelationshipStatus, ContactRelationshipsResource, type ContactScore, type ContentIntelligenceAudienceStats, type ContentIntelligenceAuthor, type ContentIntelligenceCoverage, type ContentIntelligenceCoveragePerson, type ContentIntelligenceCurationStats, type ContentIntelligenceDateValue, type ContentIntelligenceEngager, type ContentIntelligenceOptions, type ContentIntelligenceOutput, type ContentIntelligenceOutputName, type ContentIntelligenceOutputs, type ContentIntelligencePackage, type ContentIntelligencePost, type ContentIntelligenceResolvedParams, type ContentIntelligenceSummary, type ContentLimit, type ContentSource, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type CriteriaClassification, type CriteriaMetadata, type CriterionDefinition, type CriterionResult, type CriterionType, type CrmAccountContextAssociationConfidence, type CrmAccountContextAssociationKind, type CrmAccountContextBatchRequest, type CrmAccountContextBatchResponse, type CrmAccountContextCandidateInput, type CrmAccountContextDealSummary, type CrmAccountContextDetail, type CrmAccountContextMatchConfidence, type CrmAccountContextMatchMethod, type CrmAccountContextPersonPresence, type CrmAccountContextPersonPreview, type CrmAccountContextProviderCoverage, type CrmAccountContextProviderResult, type CrmAccountContextResult, type CrmAccountContextSalesState, type CrmAccountContextSourceStatus, type CrmAccountContextStageClass, type CrmContactInput, type CrmContactsSyncRequest, type CrmContactsSyncResponse, type CrmContactsSyncStatusResponse, type CrmExclusionGrantListResponse, type CrmExclusionGrantRequest, type CrmExclusionGrantResponse, type CrmMatchBatchRequest, type CrmMatchBatchResponse, type CrmMatchedProspect, type CrmProvider, CrmResource, type CrmSyncProspectRequest, type CrmSyncProspectResponse, DAILY_INMAIL_LIMITS, DEFAULT_SUBSCRIPTION_TYPE, type DatabaseStatus, type DeepPeopleSearchOutput, type DeepSearchPreview, type DeepSearchStats, type DeleteApiKeyResponse, type DeleteConnectionsResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DiscoveryTrace, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type DuplicateTemplateRequest, type EditQueuedRequest, type Email, type EmailAction, type EmailInboxItem, type EmailInboxListResponse, type EmailInboxPersona, type EmailOnboardRequest, type EmailOnboardResponse, type EmailOnboardStatusResponse, type EmailOrgHealthResponse, type EmailOrgListResponse, type EmailOrgSettingsResponse, type EmailOrgSettingsUpdate, type EmailOrgSummary, EmailResource, type EmailSenderPersona, type EmailThreadSummary, type EngagementAnalysisOutput, type EngagementAnalysisScope, type EngagementExpansionHopStats, type EngagementExpansionOptions, type EngagementExpansionOutput, type EngagementExpansionResolvedParams, type EngagementExpansionStats, type EngagementHistoryEntry, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, EnrichmentResource, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceRichnessGrade, type EvidenceSource, type ExecutionDetailResponse, type ExecutionEvent, type ExecutionEventData, type ExecutionListResponse, type ExecutionMetricsOptions, type ExecutionMetricsResponse, type ExecutionStatus, type ExecutionSummary, type ExecutionSummaryExtended, type ExecutionsParams, type ExecutionsRequestItem, type ExecutionsResponseItem, ExternalAPIKeysResource, type ExternalApiKeyResponse, type FeedbackListResponse, type FeedbackObject, type FeedbackType, type FileAttachment, type FileChunk, type FileContentResponse, type FileListResponse, type FileMetadata, type FileScope, type FileScopeUpdateRequest, type FileSearchRequest, type FileSearchResponse, type FileSearchResult, type FileStatisticsResponse, type FileUploadResponse, FilesResource, type FilterLogic, type FilterValue, type FunnelStage, type GetConnectionStatusParams, type GetContactRelationshipsOptions, type GetToolsRequest, type GetToolsResponse, type GetUserConnectionsParams, type InboxKind, type InfluencerEngagementOptions, type InfluencerEngagementOutput, type InfluencerEngagementPostSource, type InfluencerEngagementResolvedParams, type InfluencerEngagementSeedCoverage, type InfluencerEngagementSeedPost, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, type IntelligenceBarChart, type IntelligenceBarChartBar, type IntelligenceChart, type IntelligenceChartId, type IntelligenceCreditEntry, type IntelligenceCreditLedger, type IntelligenceEntitySpan, type IntelligenceLineChart, type IntelligenceLineChartPoint, type IntelligenceQuoteSpan, type IntelligenceReportBlock, type IntelligenceReportCompleteness, type IntelligenceReportEnvelope, type IntelligenceReportReader, type IntelligenceReportSectionRef, type IntelligenceReportSubject, type IntelligenceReportSummary, type IntelligenceReportTable, type IntelligenceSectionOverlays, type IntelligenceStatSpan, type IntentSignal, InternalServerError, LINKEDIN_LIMITS, type LifecycleOperationRequest, type LifecycleOperationResponse, type LinkAssetsRequest, type LinkedAssetsResponse, type LinkedInAccountInfoResponse, type LinkedInAccountRateLimits, type LinkedInAccountRateLimitsResponse, type LinkedInAccountRateLimitsUpdate, type LinkedInAction, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type LinkedInSyncStatusResponse, type ListAcceptedConnectionsParams, type ListApprovalsOptions, type ListAssetsOptions, type ListCampaignActionsOptions, type ListCampaignProspectsOptions, type ListCampaignsOptions, type ListConnectionsParams, type ListExecutionsOptions, type ListInboxesParams, type ListPendingApprovalsOptions, type ListPlaybooksOptions, type ListProvidersResponse, type ListStepExecutionsOptions, type ListTemplatesOptions, LocalFileNotSupportedError, LumnisClient, type LumnisClientOptions, LumnisError, type LumnisErrorOptions, type MCPScope, type MCPServerCreateRequest, type MCPServerListResponse, type MCPServerResponse, type MCPServerUpdateRequest, MCPServersResource, type MCPToolListResponse, type MCPToolResponse, type MCPTransport, type MailboxUpdateRequest, type MailboxUpdateResponse, type Message, type MessageReceivedData, type MessageResponse, type MessageSentData, MessageType, MessagingAPIError, MessagingConnectionError, MessagingNotFoundError, MessagingResource, MessagingSendError, MessagingValidationError, type MetricsParams, type MetricsRequestItem, type MetricsResponseItem, type ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, type OnFailure, type Opportunity, type OutcomeType, type OutreachAssetCreate, type OutreachAssetResponse, type OutreachAssetType, type OutreachAssetUpdate, OutreachMethod, OutreachResource, type OutreachSource, type OutreachStats, type PaginationInfo, type PaginationParams, type PainPoint, type PauseProspectsRequest, type PauseProspectsResponse, type PauseResumeQueuedRequest, type PendingApprovalExtended, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PeriodInsight, type PersonEvidenceLegCounts, type PersonEvidenceRichness, type PersonIntelligenceOptions, type PersonIntelligenceOutput, type PersonIntelligenceResolvedParams, type PersonReportSubject, type PersonResult, type Plan, type PlaybookCreate, type PlaybookGenerateJobResponse, type PlaybookGenerateJobStatusResponse, type PlaybookGenerateRequest, type PlaybookResponse, type PlaybookUpdate, type PlaybookVersionResponse, type PostEngagementData, type PostEngagementProvenance, type PostEngagementType, type PostIdea, type PostIdeasOutput, type PostPreviewRequest, type PostPreviewResponse, type PostPreviewResult, type PostsDateRange, type PostsSearchStats, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProjectApprovalsData, type ProjectExecutionsData, type ProjectMetricsData, type ProspectConnectionCheck, type ProspectInfo, type ProspectInput, type ProspectPriorContactResult, type ProspectSyncIdentifier, type ProspectSyncResult, type ProspectWarning, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, type RateLimitData, RateLimitError, type RateLimitErrorOptions, type RateLimitInfo$1 as RateLimitInfo, type RateLimitStatusResponse, type RateLimitsParams, type RateLimitsRequestItem, type RateLimitsResponseItem, type RecordOutcomeRequest, type RejectActionRequest, type RejectStepRequest, type RelevanceTier, type RemoveOrgMemberResponse, type RepEngagementData, type RepEngagementStats, type ReplySentiment, type ResolvedCompetitorTarget, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, type ResumeProspectsRequest, SEQUENCE_RATE_LIMITS, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, type SenderPersonaInput, type SequenceAction, type SequenceApprovalNeededData, type SequenceChannel, type SequenceEventType, type SequenceExecutionCompletedData, type SequenceExecutionFailedData, type SequenceRateLimitAction, type SequenceStepCompletedData, type SequenceTemplateCreate, type SequenceTemplateResponse, type SequenceTemplateUpdate, SequencesResource, SharePermission, type SkillAnalyticsRequest, type SkillEffectivenessMetrics, type SkillGuidelineBase, type SkillGuidelineCreate, type SkillGuidelineListResponse, type SkillGuidelineResponse, type SkillGuidelineUpdate, type SkillRetrievalMetadata, type SkillUsageBase, type SkillUsageCreate, type SkillUsageListResponse, type SkillUsageResponse, type SkillUsageUpdate, SkillsResource, type SkipActionRequest, type SkipStepRequest, type SkipStepResponse, type SkippedProspect, type SkippedTransferProspect, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type Stage, type StageFilter, type StandoutPost, type StartExecutionRequest, type StartExecutionResponse, type StepConfig, type StepExecutionItem, type StepExecutionListResponse, type StepExecutionStatus, type StepHistoryEntry, type StepMetric, type StoppedBreakdown, type StoreApiKeyRequest, type StructuredResponse, type SyncJobResponse, SyncJobStatus, SyncPhaseStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type Takeaway, type TeardownOrgResponse, type TemplateShareConfig, type TemplateShareInfo, type TemplateShareRequest, type TemplateSharesResponse, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThemeAssignment, type ThemePeriodStats, type ThemeStats, type ThemeTrend, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, type TopPost, type TopPostsOutput, type TopVoice, type TransferProspectsRequest, type TransferProspectsResponse, type TransferSkipReason, type TransitionCondition, type TransitionConditionOperator, type TransitionConditionType, type TransitionConfig, type TransitionEventParams, type TriggerSyncResponse, UNIPILE_RATE_LIMIT_ERRORS, UNIPILE_SAFE_LIMITS, type UUID, type UnlinkConversationsResponse, type UpdateAppStatusParams, type UpdateAppStatusResponse, type UpdateDraftRequest, type UpdateLinkedInSubscriptionRequest, type UpdatePersonaRequest, type UpdatePersonaResponse, type UpdateStepExecutionRequest, type UpdateStepExecutionResponse, type UpdateThreadRequest, type UserConnectionsResponse, type UserCreateRequest, type UserDeleteResponse, type UserIdentifier, type UserListResponse, type UserResponse, type UserUpdateRequest, UsersResource, VALID_EVENT_TYPES, type ValidatedCandidate, ValidationError, type ValidationIssue, type ValidationResponse, type WebhookEvent, type WebhookPayload, type WeightedCall, type WeightedCallOption, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getDefaultDailyLimits, getInmailAllowance, getLimits, getMessageLimit, getRateLimit, hasOpenProfileMessages, isRecruiterSubscription, normalizeAction, verifyWebhookSignature };
9352
+ 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
@@ -2322,7 +2322,7 @@ interface AgentConfig {
2322
2322
  interface ModelOverrides {
2323
2323
  [key: string]: string;
2324
2324
  }
2325
- type CriterionType = 'universal' | 'varying' | 'validation_only';
2325
+ type CriterionType = 'universal' | 'post_hard' | 'varying' | 'post_soft' | 'validation_only';
2326
2326
  type ColumnKind = 'extraction' | 'verdict';
2327
2327
  /** SLM relevance reranker tier (deep_people_search / people_scoring output). */
2328
2328
  type RelevanceTier = 'STRONG_MATCH' | 'PARTIAL_MATCH' | 'WEAK_MATCH';
@@ -2332,6 +2332,14 @@ interface CriterionDefinition {
2332
2332
  criterionText: string;
2333
2333
  criterionType: CriterionType;
2334
2334
  weight: number;
2335
+ /** Exact user-prompt clause supporting the generated criterion, when available. */
2336
+ sourceClauseQuote?: string;
2337
+ /** The grounded fidelity audit edited, retyped, or added this criterion. */
2338
+ auditMutated?: 'edited' | 'edited+retyped' | 'added';
2339
+ /** The deterministic source-clause strength guard retyped this criterion. */
2340
+ strengthGuardMutated?: boolean;
2341
+ /** Machine-readable explanation for a deterministic strength retype. */
2342
+ strengthGuardReason?: string;
2335
2343
  /** Expected answer shape for an extraction column. */
2336
2344
  answerFormat?: string;
2337
2345
  /** Whether this criterion extracts a value or produces a score-bearing verdict. */
@@ -2347,10 +2355,14 @@ interface CriterionDefinition {
2347
2355
  }
2348
2356
  interface CriteriaClassification {
2349
2357
  universalCriteria: CriterionDefinition[];
2358
+ postHardCriteria?: CriterionDefinition[];
2350
2359
  varyingCriteria: CriterionDefinition[];
2360
+ postSoftCriteria?: CriterionDefinition[];
2351
2361
  validationOnlyCriteria: CriterionDefinition[];
2352
2362
  universalReasoning?: string;
2363
+ postHardReasoning?: string;
2353
2364
  varyingReasoning?: string;
2365
+ postSoftReasoning?: string;
2354
2366
  validationReasoning?: string;
2355
2367
  }
2356
2368
  interface AddCriterionRequest {
@@ -2419,7 +2431,7 @@ interface EvidenceSource {
2419
2431
  interface CriterionResult {
2420
2432
  /** Unique identifier matching criteria definition */
2421
2433
  criterionId: string;
2422
- /** Type: universal, varying, or validation_only */
2434
+ /** Type encodes both requirement strength and evaluation stage. */
2423
2435
  criterionType: CriterionType;
2424
2436
  /** Column name for display */
2425
2437
  columnName: string;
@@ -2605,6 +2617,13 @@ interface ValidatedCandidate {
2605
2617
  * This affects scoring and routing but no longer forces a lower delivery tier.
2606
2618
  */
2607
2619
  anyUniversalFailed?: boolean;
2620
+ /**
2621
+ * Legacy-named aggregate: true when any universal or post_hard criterion
2622
+ * could not be decided from sufficient evidence.
2623
+ */
2624
+ anyUniversalUncertain?: boolean;
2625
+ /** Explicit alias for anyUniversalUncertain covering every hard criterion. */
2626
+ anyHardUncertain?: boolean;
2608
2627
  /**
2609
2628
  * True when promoted from excluded to meet the requested count despite failing hard
2610
2629
  * criteria. This is useful for display and auditing but no longer forces a lower rank tier.
@@ -2643,11 +2662,16 @@ interface ValidatedCandidate {
2643
2662
  jobCount?: number;
2644
2663
  signalSource?: string;
2645
2664
  sampleJobListings?: Array<{
2665
+ jobId?: string | number | null;
2646
2666
  title?: string;
2647
2667
  description?: string;
2648
2668
  workplaceType?: string;
2649
2669
  country?: string;
2650
2670
  dateAdded?: string;
2671
+ dateUpdated?: string;
2672
+ checkedAt?: string;
2673
+ url?: string | null;
2674
+ source?: string | null;
2651
2675
  }>;
2652
2676
  };
2653
2677
  /** Raw profile data */
@@ -4593,6 +4617,8 @@ type CrmAccountContextMatchMethod = 'exact_person_association' | 'exact_domain'
4593
4617
  type CrmAccountContextMatchConfidence = 'high' | 'medium' | 'low' | 'none';
4594
4618
  type CrmAccountContextAssociationKind = 'direct' | 'via_contact';
4595
4619
  type CrmAccountContextAssociationConfidence = 'high' | 'medium' | 'low';
4620
+ /** How precisely the deal-stage transition time was determined. */
4621
+ type CrmAccountContextStageChangeTimePrecision = 'provider_timestamp' | 'observed';
4596
4622
  /**
4597
4623
  * Stable candidate identity plus the best grounded current-company identity.
4598
4624
  *
@@ -4611,7 +4637,8 @@ interface CrmAccountContextCandidateInput {
4611
4637
  }
4612
4638
  /**
4613
4639
  * Query exact-person and account/deal context across all configured CRMs.
4614
- * The backend accepts 1..1000 candidates per request.
4640
+ * The backend accepts 1..100 candidates per request; chunk longer lists
4641
+ * client-side and reassemble by `inputKey`.
4615
4642
  */
4616
4643
  interface CrmAccountContextBatchRequest {
4617
4644
  /** UUID or email of the CRM owner whose context is queried. */
@@ -4651,8 +4678,20 @@ interface CrmAccountContextDealSummary {
4651
4678
  stageId: string;
4652
4679
  stageLabel: string;
4653
4680
  stageClass: CrmAccountContextStageClass;
4681
+ /** Previous native pipeline/stage values; absent on the first observation. */
4682
+ previousPipelineId?: string | null;
4683
+ previousPipelineLabel?: string | null;
4684
+ previousStageId?: string | null;
4685
+ previousStageLabel?: string | null;
4686
+ /** ISO-8601 timestamp for the latest observed or provider-reported transition. */
4687
+ stageChangedAt?: string | null;
4688
+ stageChangeTimePrecision?: CrmAccountContextStageChangeTimePrecision | null;
4654
4689
  associationKind: CrmAccountContextAssociationKind;
4655
4690
  associationConfidence: CrmAccountContextAssociationConfidence;
4691
+ /** Provider-native amount representation. */
4692
+ amount?: string | null;
4693
+ /** ISO-8601 timestamp. */
4694
+ closeDate?: string | null;
4656
4695
  participantCount: number;
4657
4696
  participantPreview: CrmAccountContextPersonPreview[];
4658
4697
  }
@@ -4663,6 +4702,12 @@ interface CrmAccountContextDetail {
4663
4702
  accountId: string;
4664
4703
  displayName: string;
4665
4704
  recordUrl?: string | null;
4705
+ domains: string[];
4706
+ linkedinUrl?: string | null;
4707
+ website?: string | null;
4708
+ industry?: string | null;
4709
+ location?: string | null;
4710
+ lifecycleStage?: string | null;
4666
4711
  contactCount: number;
4667
4712
  contactPreview: CrmAccountContextPersonPreview[];
4668
4713
  dealCount: number;
@@ -4710,8 +4755,9 @@ interface CrmAccountContextBatchResponse {
4710
4755
  * - `502 crm_upstream_error` — Attio/HubSpot returned an error.
4711
4756
  * - `503 crm_upstream_rate_limited` — upstream rate-limit; the response
4712
4757
  * includes a `Retry-After` header.
4713
- * - `503 account_context_not_configured` — account-context serving data is not
4714
- * configured for the requested CRM owner.
4758
+ * - `503 crm_connection_status_unavailable` (account context) — the provider
4759
+ * connection status could not be verified. Retryable; the response includes
4760
+ * a `Retry-After` header. Distinct from `409 crm_not_connected`.
4715
4761
  */
4716
4762
  declare class CrmResource {
4717
4763
  private readonly http;
@@ -4782,6 +4828,12 @@ declare class CrmResource {
4782
4828
  * details through `accountRef`. Provider degradation and unknown deal stages
4783
4829
  * are returned explicitly and must not be treated as safe negative results.
4784
4830
  *
4831
+ * Capped at 100 candidates per request; chunk longer lists and reassemble by
4832
+ * `inputKey`. Provider selection comes from the resolved owner's active
4833
+ * HubSpot/Attio connections: no active supported connection is
4834
+ * `409 crm_not_connected`, and a connection-verification failure is a
4835
+ * retryable `503 crm_connection_status_unavailable`.
4836
+ *
4785
4837
  * @example
4786
4838
  * ```typescript
4787
4839
  * const context = await client.crm.accountContextBatch({
@@ -9297,4 +9349,4 @@ declare class ProgressTracker {
9297
9349
  */
9298
9350
  declare function verifyWebhookSignature(payload: string, signature: string, secret: string): boolean;
9299
9351
 
9300
- export { ACTION_DELAYS, type ActionLimit, type ActiveHours, type AddAndRunCriterionRequest, type AddCriterionRequest, type AddOrgMemberRequest, type AddOrgMemberResponse, type AddPersonaRequest, type AddPersonaResponse, type AddProspectsRequest, type AddProspectsResponse, type AgentConfig, type AgentCostStats, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, type ApprovalActionRequest, type ApprovalItem, type ApprovalListResponse, type ApprovalMode, type ApprovalResponse, type ApprovalSettings, type ApprovalStatus, type ApprovalsParams, type ApprovalsRequestItem, type ApprovalsResponseItem, type ApproveStepRequest, type AppsListResponse, type ArtifactObject, type ArtifactsListResponse, AuthenticationError, type BaseResource, type BatchCheckConnectionRequest, type BatchCheckPriorContactRequest, type BatchCheckPriorContactResponse, type BatchConnectionRequest, type BatchConnectionResponse, type BatchConnectionStatus, type BatchConnectionStatusResponse, type BatchDraftCompleteData, type BatchDraftCreatedData, type BatchDraftErrorData, type BatchDraftJobProgress, type BatchDraftJobResponse, type BatchDraftJobStartedData, type BatchDraftJobStatusResponse, type BatchDraftProgressData, type BatchDraftRequest, type BatchDraftResponse, type BatchDraftStreamCallbacks, type BatchDraftStreamEvent, type BatchDraftStreamEventType, type BatchExecutionInclude, type BatchExecutionRequest, type BatchExecutionResponse, BatchJobStatus, type BatchPollRequest, type BatchPollResponse, type BatchProspectIdentifier, type BatchRequestItem, type BatchRequestType, type BatchResponseItem, type BatchSendRequest, type BatchSendResponse, type BatchStepMetric, type BillingStatus, type BulkApprovalAction, type BulkApprovalFailure, type BulkApprovalRequest, type BulkApprovalResponse, type BulkCompleteFailure, type BulkCompleteRequest, type BulkCompleteResponse, type BulkDeleteRequest, type BulkDeleteResponse, type BulkOperationRequest, type BulkOperationResponse, type BulkUploadResponse, CONTENT_LIMITS, CONTENT_LIMITS_MAP, type CampaignActionListResponse, type CampaignActionResponse, type CampaignActionStatus, type CampaignActionType, type CampaignAssetUpsertItem, type CampaignAssetUpsertRequest, type CampaignBulkApprovalAction, type CampaignBulkApprovalItem, type CampaignBulkApprovalRequest, type CampaignBulkApprovalResponse, type CampaignBulkApprovalResult, type CampaignCreate, type CampaignGuardrails, type CampaignListResponse, type CampaignMetricsResponse, type CampaignOutcomeType, type CampaignProspectDetailResponse, type CampaignProspectInput, type CampaignProspectResponse, type CampaignProspectState, type CampaignResponse, type CampaignStatus, type CampaignUpdate, CampaignsResource, type CancelDraftResponse, type CancelQueuedRequest, type CancelResponseResponse, type Channel, type ChannelContactHistory, type ChannelFunnel, type ChannelRatios, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type ColumnKind, type CompanyIntelligenceOptions, type CompanyIntelligenceOutput, type CompanyIntelligenceResolvedParams, type CompanyIntelligenceStats, type CompanyReportSubject, type CompetitorPostEngagementOutput, type CompetitorRepEngagementOutput, type CompleteExecutionRequest, type CompleteExecutionResponse, type ConnectInboxRequest, type ConnectInboxResponse, type Connection, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ConnectionsResponse, type ConnectionsSyncStatus, type ContactDetailsInput, type ContactEnrichPersonInput, type ContactEnrichPersonResult, type ContactEnrichRequest, type ContactEnrichResponse, type ContactFinding, type ContactHistorySyncStatus, type ContactRelationshipProvider, type ContactRelationshipResponse, type ContactRelationshipStatus, ContactRelationshipsResource, type ContactScore, type ContentIntelligenceAudienceStats, type ContentIntelligenceAuthor, type ContentIntelligenceCoverage, type ContentIntelligenceCoveragePerson, type ContentIntelligenceCurationStats, type ContentIntelligenceDateValue, type ContentIntelligenceEngager, type ContentIntelligenceOptions, type ContentIntelligenceOutput, type ContentIntelligenceOutputName, type ContentIntelligenceOutputs, type ContentIntelligencePackage, type ContentIntelligencePost, type ContentIntelligenceResolvedParams, type ContentIntelligenceSummary, type ContentLimit, type ContentSource, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type CriteriaClassification, type CriteriaMetadata, type CriterionDefinition, type CriterionResult, type CriterionType, type CrmAccountContextAssociationConfidence, type CrmAccountContextAssociationKind, type CrmAccountContextBatchRequest, type CrmAccountContextBatchResponse, type CrmAccountContextCandidateInput, type CrmAccountContextDealSummary, type CrmAccountContextDetail, type CrmAccountContextMatchConfidence, type CrmAccountContextMatchMethod, type CrmAccountContextPersonPresence, type CrmAccountContextPersonPreview, type CrmAccountContextProviderCoverage, type CrmAccountContextProviderResult, type CrmAccountContextResult, type CrmAccountContextSalesState, type CrmAccountContextSourceStatus, type CrmAccountContextStageClass, type CrmContactInput, type CrmContactsSyncRequest, type CrmContactsSyncResponse, type CrmContactsSyncStatusResponse, type CrmExclusionGrantListResponse, type CrmExclusionGrantRequest, type CrmExclusionGrantResponse, type CrmMatchBatchRequest, type CrmMatchBatchResponse, type CrmMatchedProspect, type CrmProvider, CrmResource, type CrmSyncProspectRequest, type CrmSyncProspectResponse, DAILY_INMAIL_LIMITS, DEFAULT_SUBSCRIPTION_TYPE, type DatabaseStatus, type DeepPeopleSearchOutput, type DeepSearchPreview, type DeepSearchStats, type DeleteApiKeyResponse, type DeleteConnectionsResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DiscoveryTrace, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type DuplicateTemplateRequest, type EditQueuedRequest, type Email, type EmailAction, type EmailInboxItem, type EmailInboxListResponse, type EmailInboxPersona, type EmailOnboardRequest, type EmailOnboardResponse, type EmailOnboardStatusResponse, type EmailOrgHealthResponse, type EmailOrgListResponse, type EmailOrgSettingsResponse, type EmailOrgSettingsUpdate, type EmailOrgSummary, EmailResource, type EmailSenderPersona, type EmailThreadSummary, type EngagementAnalysisOutput, type EngagementAnalysisScope, type EngagementExpansionHopStats, type EngagementExpansionOptions, type EngagementExpansionOutput, type EngagementExpansionResolvedParams, type EngagementExpansionStats, type EngagementHistoryEntry, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, EnrichmentResource, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceRichnessGrade, type EvidenceSource, type ExecutionDetailResponse, type ExecutionEvent, type ExecutionEventData, type ExecutionListResponse, type ExecutionMetricsOptions, type ExecutionMetricsResponse, type ExecutionStatus, type ExecutionSummary, type ExecutionSummaryExtended, type ExecutionsParams, type ExecutionsRequestItem, type ExecutionsResponseItem, ExternalAPIKeysResource, type ExternalApiKeyResponse, type FeedbackListResponse, type FeedbackObject, type FeedbackType, type FileAttachment, type FileChunk, type FileContentResponse, type FileListResponse, type FileMetadata, type FileScope, type FileScopeUpdateRequest, type FileSearchRequest, type FileSearchResponse, type FileSearchResult, type FileStatisticsResponse, type FileUploadResponse, FilesResource, type FilterLogic, type FilterValue, type FunnelStage, type GetConnectionStatusParams, type GetContactRelationshipsOptions, type GetToolsRequest, type GetToolsResponse, type GetUserConnectionsParams, type InboxKind, type InfluencerEngagementOptions, type InfluencerEngagementOutput, type InfluencerEngagementPostSource, type InfluencerEngagementResolvedParams, type InfluencerEngagementSeedCoverage, type InfluencerEngagementSeedPost, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, type IntelligenceBarChart, type IntelligenceBarChartBar, type IntelligenceChart, type IntelligenceChartId, type IntelligenceCreditEntry, type IntelligenceCreditLedger, type IntelligenceEntitySpan, type IntelligenceLineChart, type IntelligenceLineChartPoint, type IntelligenceQuoteSpan, type IntelligenceReportBlock, type IntelligenceReportCompleteness, type IntelligenceReportEnvelope, type IntelligenceReportReader, type IntelligenceReportSectionRef, type IntelligenceReportSubject, type IntelligenceReportSummary, type IntelligenceReportTable, type IntelligenceSectionOverlays, type IntelligenceStatSpan, type IntentSignal, InternalServerError, LINKEDIN_LIMITS, type LifecycleOperationRequest, type LifecycleOperationResponse, type LinkAssetsRequest, type LinkedAssetsResponse, type LinkedInAccountInfoResponse, type LinkedInAccountRateLimits, type LinkedInAccountRateLimitsResponse, type LinkedInAccountRateLimitsUpdate, type LinkedInAction, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type LinkedInSyncStatusResponse, type ListAcceptedConnectionsParams, type ListApprovalsOptions, type ListAssetsOptions, type ListCampaignActionsOptions, type ListCampaignProspectsOptions, type ListCampaignsOptions, type ListConnectionsParams, type ListExecutionsOptions, type ListInboxesParams, type ListPendingApprovalsOptions, type ListPlaybooksOptions, type ListProvidersResponse, type ListStepExecutionsOptions, type ListTemplatesOptions, LocalFileNotSupportedError, LumnisClient, type LumnisClientOptions, LumnisError, type LumnisErrorOptions, type MCPScope, type MCPServerCreateRequest, type MCPServerListResponse, type MCPServerResponse, type MCPServerUpdateRequest, MCPServersResource, type MCPToolListResponse, type MCPToolResponse, type MCPTransport, type MailboxUpdateRequest, type MailboxUpdateResponse, type Message, type MessageReceivedData, type MessageResponse, type MessageSentData, MessageType, MessagingAPIError, MessagingConnectionError, MessagingNotFoundError, MessagingResource, MessagingSendError, MessagingValidationError, type MetricsParams, type MetricsRequestItem, type MetricsResponseItem, type ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, type OnFailure, type Opportunity, type OutcomeType, type OutreachAssetCreate, type OutreachAssetResponse, type OutreachAssetType, type OutreachAssetUpdate, OutreachMethod, OutreachResource, type OutreachSource, type OutreachStats, type PaginationInfo, type PaginationParams, type PainPoint, type PauseProspectsRequest, type PauseProspectsResponse, type PauseResumeQueuedRequest, type PendingApprovalExtended, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PeriodInsight, type PersonEvidenceLegCounts, type PersonEvidenceRichness, type PersonIntelligenceOptions, type PersonIntelligenceOutput, type PersonIntelligenceResolvedParams, type PersonReportSubject, type PersonResult, type Plan, type PlaybookCreate, type PlaybookGenerateJobResponse, type PlaybookGenerateJobStatusResponse, type PlaybookGenerateRequest, type PlaybookResponse, type PlaybookUpdate, type PlaybookVersionResponse, type PostEngagementData, type PostEngagementProvenance, type PostEngagementType, type PostIdea, type PostIdeasOutput, type PostPreviewRequest, type PostPreviewResponse, type PostPreviewResult, type PostsDateRange, type PostsSearchStats, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProjectApprovalsData, type ProjectExecutionsData, type ProjectMetricsData, type ProspectConnectionCheck, type ProspectInfo, type ProspectInput, type ProspectPriorContactResult, type ProspectSyncIdentifier, type ProspectSyncResult, type ProspectWarning, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, type RateLimitData, RateLimitError, type RateLimitErrorOptions, type RateLimitInfo$1 as RateLimitInfo, type RateLimitStatusResponse, type RateLimitsParams, type RateLimitsRequestItem, type RateLimitsResponseItem, type RecordOutcomeRequest, type RejectActionRequest, type RejectStepRequest, type RelevanceTier, type RemoveOrgMemberResponse, type RepEngagementData, type RepEngagementStats, type ReplySentiment, type ResolvedCompetitorTarget, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, type ResumeProspectsRequest, SEQUENCE_RATE_LIMITS, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, type SenderPersonaInput, type SequenceAction, type SequenceApprovalNeededData, type SequenceChannel, type SequenceEventType, type SequenceExecutionCompletedData, type SequenceExecutionFailedData, type SequenceRateLimitAction, type SequenceStepCompletedData, type SequenceTemplateCreate, type SequenceTemplateResponse, type SequenceTemplateUpdate, SequencesResource, SharePermission, type SkillAnalyticsRequest, type SkillEffectivenessMetrics, type SkillGuidelineBase, type SkillGuidelineCreate, type SkillGuidelineListResponse, type SkillGuidelineResponse, type SkillGuidelineUpdate, type SkillRetrievalMetadata, type SkillUsageBase, type SkillUsageCreate, type SkillUsageListResponse, type SkillUsageResponse, type SkillUsageUpdate, SkillsResource, type SkipActionRequest, type SkipStepRequest, type SkipStepResponse, type SkippedProspect, type SkippedTransferProspect, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type Stage, type StageFilter, type StandoutPost, type StartExecutionRequest, type StartExecutionResponse, type StepConfig, type StepExecutionItem, type StepExecutionListResponse, type StepExecutionStatus, type StepHistoryEntry, type StepMetric, type StoppedBreakdown, type StoreApiKeyRequest, type StructuredResponse, type SyncJobResponse, SyncJobStatus, SyncPhaseStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type Takeaway, type TeardownOrgResponse, type TemplateShareConfig, type TemplateShareInfo, type TemplateShareRequest, type TemplateSharesResponse, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThemeAssignment, type ThemePeriodStats, type ThemeStats, type ThemeTrend, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, type TopPost, type TopPostsOutput, type TopVoice, type TransferProspectsRequest, type TransferProspectsResponse, type TransferSkipReason, type TransitionCondition, type TransitionConditionOperator, type TransitionConditionType, type TransitionConfig, type TransitionEventParams, type TriggerSyncResponse, UNIPILE_RATE_LIMIT_ERRORS, UNIPILE_SAFE_LIMITS, type UUID, type UnlinkConversationsResponse, type UpdateAppStatusParams, type UpdateAppStatusResponse, type UpdateDraftRequest, type UpdateLinkedInSubscriptionRequest, type UpdatePersonaRequest, type UpdatePersonaResponse, type UpdateStepExecutionRequest, type UpdateStepExecutionResponse, type UpdateThreadRequest, type UserConnectionsResponse, type UserCreateRequest, type UserDeleteResponse, type UserIdentifier, type UserListResponse, type UserResponse, type UserUpdateRequest, UsersResource, VALID_EVENT_TYPES, type ValidatedCandidate, ValidationError, type ValidationIssue, type ValidationResponse, type WebhookEvent, type WebhookPayload, type WeightedCall, type WeightedCallOption, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getDefaultDailyLimits, getInmailAllowance, getLimits, getMessageLimit, getRateLimit, hasOpenProfileMessages, isRecruiterSubscription, normalizeAction, verifyWebhookSignature };
9352
+ 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
@@ -2322,7 +2322,7 @@ interface AgentConfig {
2322
2322
  interface ModelOverrides {
2323
2323
  [key: string]: string;
2324
2324
  }
2325
- type CriterionType = 'universal' | 'varying' | 'validation_only';
2325
+ type CriterionType = 'universal' | 'post_hard' | 'varying' | 'post_soft' | 'validation_only';
2326
2326
  type ColumnKind = 'extraction' | 'verdict';
2327
2327
  /** SLM relevance reranker tier (deep_people_search / people_scoring output). */
2328
2328
  type RelevanceTier = 'STRONG_MATCH' | 'PARTIAL_MATCH' | 'WEAK_MATCH';
@@ -2332,6 +2332,14 @@ interface CriterionDefinition {
2332
2332
  criterionText: string;
2333
2333
  criterionType: CriterionType;
2334
2334
  weight: number;
2335
+ /** Exact user-prompt clause supporting the generated criterion, when available. */
2336
+ sourceClauseQuote?: string;
2337
+ /** The grounded fidelity audit edited, retyped, or added this criterion. */
2338
+ auditMutated?: 'edited' | 'edited+retyped' | 'added';
2339
+ /** The deterministic source-clause strength guard retyped this criterion. */
2340
+ strengthGuardMutated?: boolean;
2341
+ /** Machine-readable explanation for a deterministic strength retype. */
2342
+ strengthGuardReason?: string;
2335
2343
  /** Expected answer shape for an extraction column. */
2336
2344
  answerFormat?: string;
2337
2345
  /** Whether this criterion extracts a value or produces a score-bearing verdict. */
@@ -2347,10 +2355,14 @@ interface CriterionDefinition {
2347
2355
  }
2348
2356
  interface CriteriaClassification {
2349
2357
  universalCriteria: CriterionDefinition[];
2358
+ postHardCriteria?: CriterionDefinition[];
2350
2359
  varyingCriteria: CriterionDefinition[];
2360
+ postSoftCriteria?: CriterionDefinition[];
2351
2361
  validationOnlyCriteria: CriterionDefinition[];
2352
2362
  universalReasoning?: string;
2363
+ postHardReasoning?: string;
2353
2364
  varyingReasoning?: string;
2365
+ postSoftReasoning?: string;
2354
2366
  validationReasoning?: string;
2355
2367
  }
2356
2368
  interface AddCriterionRequest {
@@ -2419,7 +2431,7 @@ interface EvidenceSource {
2419
2431
  interface CriterionResult {
2420
2432
  /** Unique identifier matching criteria definition */
2421
2433
  criterionId: string;
2422
- /** Type: universal, varying, or validation_only */
2434
+ /** Type encodes both requirement strength and evaluation stage. */
2423
2435
  criterionType: CriterionType;
2424
2436
  /** Column name for display */
2425
2437
  columnName: string;
@@ -2605,6 +2617,13 @@ interface ValidatedCandidate {
2605
2617
  * This affects scoring and routing but no longer forces a lower delivery tier.
2606
2618
  */
2607
2619
  anyUniversalFailed?: boolean;
2620
+ /**
2621
+ * Legacy-named aggregate: true when any universal or post_hard criterion
2622
+ * could not be decided from sufficient evidence.
2623
+ */
2624
+ anyUniversalUncertain?: boolean;
2625
+ /** Explicit alias for anyUniversalUncertain covering every hard criterion. */
2626
+ anyHardUncertain?: boolean;
2608
2627
  /**
2609
2628
  * True when promoted from excluded to meet the requested count despite failing hard
2610
2629
  * criteria. This is useful for display and auditing but no longer forces a lower rank tier.
@@ -2643,11 +2662,16 @@ interface ValidatedCandidate {
2643
2662
  jobCount?: number;
2644
2663
  signalSource?: string;
2645
2664
  sampleJobListings?: Array<{
2665
+ jobId?: string | number | null;
2646
2666
  title?: string;
2647
2667
  description?: string;
2648
2668
  workplaceType?: string;
2649
2669
  country?: string;
2650
2670
  dateAdded?: string;
2671
+ dateUpdated?: string;
2672
+ checkedAt?: string;
2673
+ url?: string | null;
2674
+ source?: string | null;
2651
2675
  }>;
2652
2676
  };
2653
2677
  /** Raw profile data */
@@ -4593,6 +4617,8 @@ type CrmAccountContextMatchMethod = 'exact_person_association' | 'exact_domain'
4593
4617
  type CrmAccountContextMatchConfidence = 'high' | 'medium' | 'low' | 'none';
4594
4618
  type CrmAccountContextAssociationKind = 'direct' | 'via_contact';
4595
4619
  type CrmAccountContextAssociationConfidence = 'high' | 'medium' | 'low';
4620
+ /** How precisely the deal-stage transition time was determined. */
4621
+ type CrmAccountContextStageChangeTimePrecision = 'provider_timestamp' | 'observed';
4596
4622
  /**
4597
4623
  * Stable candidate identity plus the best grounded current-company identity.
4598
4624
  *
@@ -4611,7 +4637,8 @@ interface CrmAccountContextCandidateInput {
4611
4637
  }
4612
4638
  /**
4613
4639
  * Query exact-person and account/deal context across all configured CRMs.
4614
- * The backend accepts 1..1000 candidates per request.
4640
+ * The backend accepts 1..100 candidates per request; chunk longer lists
4641
+ * client-side and reassemble by `inputKey`.
4615
4642
  */
4616
4643
  interface CrmAccountContextBatchRequest {
4617
4644
  /** UUID or email of the CRM owner whose context is queried. */
@@ -4651,8 +4678,20 @@ interface CrmAccountContextDealSummary {
4651
4678
  stageId: string;
4652
4679
  stageLabel: string;
4653
4680
  stageClass: CrmAccountContextStageClass;
4681
+ /** Previous native pipeline/stage values; absent on the first observation. */
4682
+ previousPipelineId?: string | null;
4683
+ previousPipelineLabel?: string | null;
4684
+ previousStageId?: string | null;
4685
+ previousStageLabel?: string | null;
4686
+ /** ISO-8601 timestamp for the latest observed or provider-reported transition. */
4687
+ stageChangedAt?: string | null;
4688
+ stageChangeTimePrecision?: CrmAccountContextStageChangeTimePrecision | null;
4654
4689
  associationKind: CrmAccountContextAssociationKind;
4655
4690
  associationConfidence: CrmAccountContextAssociationConfidence;
4691
+ /** Provider-native amount representation. */
4692
+ amount?: string | null;
4693
+ /** ISO-8601 timestamp. */
4694
+ closeDate?: string | null;
4656
4695
  participantCount: number;
4657
4696
  participantPreview: CrmAccountContextPersonPreview[];
4658
4697
  }
@@ -4663,6 +4702,12 @@ interface CrmAccountContextDetail {
4663
4702
  accountId: string;
4664
4703
  displayName: string;
4665
4704
  recordUrl?: string | null;
4705
+ domains: string[];
4706
+ linkedinUrl?: string | null;
4707
+ website?: string | null;
4708
+ industry?: string | null;
4709
+ location?: string | null;
4710
+ lifecycleStage?: string | null;
4666
4711
  contactCount: number;
4667
4712
  contactPreview: CrmAccountContextPersonPreview[];
4668
4713
  dealCount: number;
@@ -4710,8 +4755,9 @@ interface CrmAccountContextBatchResponse {
4710
4755
  * - `502 crm_upstream_error` — Attio/HubSpot returned an error.
4711
4756
  * - `503 crm_upstream_rate_limited` — upstream rate-limit; the response
4712
4757
  * includes a `Retry-After` header.
4713
- * - `503 account_context_not_configured` — account-context serving data is not
4714
- * configured for the requested CRM owner.
4758
+ * - `503 crm_connection_status_unavailable` (account context) — the provider
4759
+ * connection status could not be verified. Retryable; the response includes
4760
+ * a `Retry-After` header. Distinct from `409 crm_not_connected`.
4715
4761
  */
4716
4762
  declare class CrmResource {
4717
4763
  private readonly http;
@@ -4782,6 +4828,12 @@ declare class CrmResource {
4782
4828
  * details through `accountRef`. Provider degradation and unknown deal stages
4783
4829
  * are returned explicitly and must not be treated as safe negative results.
4784
4830
  *
4831
+ * Capped at 100 candidates per request; chunk longer lists and reassemble by
4832
+ * `inputKey`. Provider selection comes from the resolved owner's active
4833
+ * HubSpot/Attio connections: no active supported connection is
4834
+ * `409 crm_not_connected`, and a connection-verification failure is a
4835
+ * retryable `503 crm_connection_status_unavailable`.
4836
+ *
4785
4837
  * @example
4786
4838
  * ```typescript
4787
4839
  * const context = await client.crm.accountContextBatch({
@@ -9297,4 +9349,4 @@ declare class ProgressTracker {
9297
9349
  */
9298
9350
  declare function verifyWebhookSignature(payload: string, signature: string, secret: string): boolean;
9299
9351
 
9300
- export { ACTION_DELAYS, type ActionLimit, type ActiveHours, type AddAndRunCriterionRequest, type AddCriterionRequest, type AddOrgMemberRequest, type AddOrgMemberResponse, type AddPersonaRequest, type AddPersonaResponse, type AddProspectsRequest, type AddProspectsResponse, type AgentConfig, type AgentCostStats, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, type ApprovalActionRequest, type ApprovalItem, type ApprovalListResponse, type ApprovalMode, type ApprovalResponse, type ApprovalSettings, type ApprovalStatus, type ApprovalsParams, type ApprovalsRequestItem, type ApprovalsResponseItem, type ApproveStepRequest, type AppsListResponse, type ArtifactObject, type ArtifactsListResponse, AuthenticationError, type BaseResource, type BatchCheckConnectionRequest, type BatchCheckPriorContactRequest, type BatchCheckPriorContactResponse, type BatchConnectionRequest, type BatchConnectionResponse, type BatchConnectionStatus, type BatchConnectionStatusResponse, type BatchDraftCompleteData, type BatchDraftCreatedData, type BatchDraftErrorData, type BatchDraftJobProgress, type BatchDraftJobResponse, type BatchDraftJobStartedData, type BatchDraftJobStatusResponse, type BatchDraftProgressData, type BatchDraftRequest, type BatchDraftResponse, type BatchDraftStreamCallbacks, type BatchDraftStreamEvent, type BatchDraftStreamEventType, type BatchExecutionInclude, type BatchExecutionRequest, type BatchExecutionResponse, BatchJobStatus, type BatchPollRequest, type BatchPollResponse, type BatchProspectIdentifier, type BatchRequestItem, type BatchRequestType, type BatchResponseItem, type BatchSendRequest, type BatchSendResponse, type BatchStepMetric, type BillingStatus, type BulkApprovalAction, type BulkApprovalFailure, type BulkApprovalRequest, type BulkApprovalResponse, type BulkCompleteFailure, type BulkCompleteRequest, type BulkCompleteResponse, type BulkDeleteRequest, type BulkDeleteResponse, type BulkOperationRequest, type BulkOperationResponse, type BulkUploadResponse, CONTENT_LIMITS, CONTENT_LIMITS_MAP, type CampaignActionListResponse, type CampaignActionResponse, type CampaignActionStatus, type CampaignActionType, type CampaignAssetUpsertItem, type CampaignAssetUpsertRequest, type CampaignBulkApprovalAction, type CampaignBulkApprovalItem, type CampaignBulkApprovalRequest, type CampaignBulkApprovalResponse, type CampaignBulkApprovalResult, type CampaignCreate, type CampaignGuardrails, type CampaignListResponse, type CampaignMetricsResponse, type CampaignOutcomeType, type CampaignProspectDetailResponse, type CampaignProspectInput, type CampaignProspectResponse, type CampaignProspectState, type CampaignResponse, type CampaignStatus, type CampaignUpdate, CampaignsResource, type CancelDraftResponse, type CancelQueuedRequest, type CancelResponseResponse, type Channel, type ChannelContactHistory, type ChannelFunnel, type ChannelRatios, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type ColumnKind, type CompanyIntelligenceOptions, type CompanyIntelligenceOutput, type CompanyIntelligenceResolvedParams, type CompanyIntelligenceStats, type CompanyReportSubject, type CompetitorPostEngagementOutput, type CompetitorRepEngagementOutput, type CompleteExecutionRequest, type CompleteExecutionResponse, type ConnectInboxRequest, type ConnectInboxResponse, type Connection, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ConnectionsResponse, type ConnectionsSyncStatus, type ContactDetailsInput, type ContactEnrichPersonInput, type ContactEnrichPersonResult, type ContactEnrichRequest, type ContactEnrichResponse, type ContactFinding, type ContactHistorySyncStatus, type ContactRelationshipProvider, type ContactRelationshipResponse, type ContactRelationshipStatus, ContactRelationshipsResource, type ContactScore, type ContentIntelligenceAudienceStats, type ContentIntelligenceAuthor, type ContentIntelligenceCoverage, type ContentIntelligenceCoveragePerson, type ContentIntelligenceCurationStats, type ContentIntelligenceDateValue, type ContentIntelligenceEngager, type ContentIntelligenceOptions, type ContentIntelligenceOutput, type ContentIntelligenceOutputName, type ContentIntelligenceOutputs, type ContentIntelligencePackage, type ContentIntelligencePost, type ContentIntelligenceResolvedParams, type ContentIntelligenceSummary, type ContentLimit, type ContentSource, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type CriteriaClassification, type CriteriaMetadata, type CriterionDefinition, type CriterionResult, type CriterionType, type CrmAccountContextAssociationConfidence, type CrmAccountContextAssociationKind, type CrmAccountContextBatchRequest, type CrmAccountContextBatchResponse, type CrmAccountContextCandidateInput, type CrmAccountContextDealSummary, type CrmAccountContextDetail, type CrmAccountContextMatchConfidence, type CrmAccountContextMatchMethod, type CrmAccountContextPersonPresence, type CrmAccountContextPersonPreview, type CrmAccountContextProviderCoverage, type CrmAccountContextProviderResult, type CrmAccountContextResult, type CrmAccountContextSalesState, type CrmAccountContextSourceStatus, type CrmAccountContextStageClass, type CrmContactInput, type CrmContactsSyncRequest, type CrmContactsSyncResponse, type CrmContactsSyncStatusResponse, type CrmExclusionGrantListResponse, type CrmExclusionGrantRequest, type CrmExclusionGrantResponse, type CrmMatchBatchRequest, type CrmMatchBatchResponse, type CrmMatchedProspect, type CrmProvider, CrmResource, type CrmSyncProspectRequest, type CrmSyncProspectResponse, DAILY_INMAIL_LIMITS, DEFAULT_SUBSCRIPTION_TYPE, type DatabaseStatus, type DeepPeopleSearchOutput, type DeepSearchPreview, type DeepSearchStats, type DeleteApiKeyResponse, type DeleteConnectionsResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DiscoveryTrace, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type DuplicateTemplateRequest, type EditQueuedRequest, type Email, type EmailAction, type EmailInboxItem, type EmailInboxListResponse, type EmailInboxPersona, type EmailOnboardRequest, type EmailOnboardResponse, type EmailOnboardStatusResponse, type EmailOrgHealthResponse, type EmailOrgListResponse, type EmailOrgSettingsResponse, type EmailOrgSettingsUpdate, type EmailOrgSummary, EmailResource, type EmailSenderPersona, type EmailThreadSummary, type EngagementAnalysisOutput, type EngagementAnalysisScope, type EngagementExpansionHopStats, type EngagementExpansionOptions, type EngagementExpansionOutput, type EngagementExpansionResolvedParams, type EngagementExpansionStats, type EngagementHistoryEntry, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, EnrichmentResource, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceRichnessGrade, type EvidenceSource, type ExecutionDetailResponse, type ExecutionEvent, type ExecutionEventData, type ExecutionListResponse, type ExecutionMetricsOptions, type ExecutionMetricsResponse, type ExecutionStatus, type ExecutionSummary, type ExecutionSummaryExtended, type ExecutionsParams, type ExecutionsRequestItem, type ExecutionsResponseItem, ExternalAPIKeysResource, type ExternalApiKeyResponse, type FeedbackListResponse, type FeedbackObject, type FeedbackType, type FileAttachment, type FileChunk, type FileContentResponse, type FileListResponse, type FileMetadata, type FileScope, type FileScopeUpdateRequest, type FileSearchRequest, type FileSearchResponse, type FileSearchResult, type FileStatisticsResponse, type FileUploadResponse, FilesResource, type FilterLogic, type FilterValue, type FunnelStage, type GetConnectionStatusParams, type GetContactRelationshipsOptions, type GetToolsRequest, type GetToolsResponse, type GetUserConnectionsParams, type InboxKind, type InfluencerEngagementOptions, type InfluencerEngagementOutput, type InfluencerEngagementPostSource, type InfluencerEngagementResolvedParams, type InfluencerEngagementSeedCoverage, type InfluencerEngagementSeedPost, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, type IntelligenceBarChart, type IntelligenceBarChartBar, type IntelligenceChart, type IntelligenceChartId, type IntelligenceCreditEntry, type IntelligenceCreditLedger, type IntelligenceEntitySpan, type IntelligenceLineChart, type IntelligenceLineChartPoint, type IntelligenceQuoteSpan, type IntelligenceReportBlock, type IntelligenceReportCompleteness, type IntelligenceReportEnvelope, type IntelligenceReportReader, type IntelligenceReportSectionRef, type IntelligenceReportSubject, type IntelligenceReportSummary, type IntelligenceReportTable, type IntelligenceSectionOverlays, type IntelligenceStatSpan, type IntentSignal, InternalServerError, LINKEDIN_LIMITS, type LifecycleOperationRequest, type LifecycleOperationResponse, type LinkAssetsRequest, type LinkedAssetsResponse, type LinkedInAccountInfoResponse, type LinkedInAccountRateLimits, type LinkedInAccountRateLimitsResponse, type LinkedInAccountRateLimitsUpdate, type LinkedInAction, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type LinkedInSyncStatusResponse, type ListAcceptedConnectionsParams, type ListApprovalsOptions, type ListAssetsOptions, type ListCampaignActionsOptions, type ListCampaignProspectsOptions, type ListCampaignsOptions, type ListConnectionsParams, type ListExecutionsOptions, type ListInboxesParams, type ListPendingApprovalsOptions, type ListPlaybooksOptions, type ListProvidersResponse, type ListStepExecutionsOptions, type ListTemplatesOptions, LocalFileNotSupportedError, LumnisClient, type LumnisClientOptions, LumnisError, type LumnisErrorOptions, type MCPScope, type MCPServerCreateRequest, type MCPServerListResponse, type MCPServerResponse, type MCPServerUpdateRequest, MCPServersResource, type MCPToolListResponse, type MCPToolResponse, type MCPTransport, type MailboxUpdateRequest, type MailboxUpdateResponse, type Message, type MessageReceivedData, type MessageResponse, type MessageSentData, MessageType, MessagingAPIError, MessagingConnectionError, MessagingNotFoundError, MessagingResource, MessagingSendError, MessagingValidationError, type MetricsParams, type MetricsRequestItem, type MetricsResponseItem, type ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, type OnFailure, type Opportunity, type OutcomeType, type OutreachAssetCreate, type OutreachAssetResponse, type OutreachAssetType, type OutreachAssetUpdate, OutreachMethod, OutreachResource, type OutreachSource, type OutreachStats, type PaginationInfo, type PaginationParams, type PainPoint, type PauseProspectsRequest, type PauseProspectsResponse, type PauseResumeQueuedRequest, type PendingApprovalExtended, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PeriodInsight, type PersonEvidenceLegCounts, type PersonEvidenceRichness, type PersonIntelligenceOptions, type PersonIntelligenceOutput, type PersonIntelligenceResolvedParams, type PersonReportSubject, type PersonResult, type Plan, type PlaybookCreate, type PlaybookGenerateJobResponse, type PlaybookGenerateJobStatusResponse, type PlaybookGenerateRequest, type PlaybookResponse, type PlaybookUpdate, type PlaybookVersionResponse, type PostEngagementData, type PostEngagementProvenance, type PostEngagementType, type PostIdea, type PostIdeasOutput, type PostPreviewRequest, type PostPreviewResponse, type PostPreviewResult, type PostsDateRange, type PostsSearchStats, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProjectApprovalsData, type ProjectExecutionsData, type ProjectMetricsData, type ProspectConnectionCheck, type ProspectInfo, type ProspectInput, type ProspectPriorContactResult, type ProspectSyncIdentifier, type ProspectSyncResult, type ProspectWarning, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, type RateLimitData, RateLimitError, type RateLimitErrorOptions, type RateLimitInfo$1 as RateLimitInfo, type RateLimitStatusResponse, type RateLimitsParams, type RateLimitsRequestItem, type RateLimitsResponseItem, type RecordOutcomeRequest, type RejectActionRequest, type RejectStepRequest, type RelevanceTier, type RemoveOrgMemberResponse, type RepEngagementData, type RepEngagementStats, type ReplySentiment, type ResolvedCompetitorTarget, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, type ResumeProspectsRequest, SEQUENCE_RATE_LIMITS, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, type SenderPersonaInput, type SequenceAction, type SequenceApprovalNeededData, type SequenceChannel, type SequenceEventType, type SequenceExecutionCompletedData, type SequenceExecutionFailedData, type SequenceRateLimitAction, type SequenceStepCompletedData, type SequenceTemplateCreate, type SequenceTemplateResponse, type SequenceTemplateUpdate, SequencesResource, SharePermission, type SkillAnalyticsRequest, type SkillEffectivenessMetrics, type SkillGuidelineBase, type SkillGuidelineCreate, type SkillGuidelineListResponse, type SkillGuidelineResponse, type SkillGuidelineUpdate, type SkillRetrievalMetadata, type SkillUsageBase, type SkillUsageCreate, type SkillUsageListResponse, type SkillUsageResponse, type SkillUsageUpdate, SkillsResource, type SkipActionRequest, type SkipStepRequest, type SkipStepResponse, type SkippedProspect, type SkippedTransferProspect, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type Stage, type StageFilter, type StandoutPost, type StartExecutionRequest, type StartExecutionResponse, type StepConfig, type StepExecutionItem, type StepExecutionListResponse, type StepExecutionStatus, type StepHistoryEntry, type StepMetric, type StoppedBreakdown, type StoreApiKeyRequest, type StructuredResponse, type SyncJobResponse, SyncJobStatus, SyncPhaseStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type Takeaway, type TeardownOrgResponse, type TemplateShareConfig, type TemplateShareInfo, type TemplateShareRequest, type TemplateSharesResponse, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThemeAssignment, type ThemePeriodStats, type ThemeStats, type ThemeTrend, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, type TopPost, type TopPostsOutput, type TopVoice, type TransferProspectsRequest, type TransferProspectsResponse, type TransferSkipReason, type TransitionCondition, type TransitionConditionOperator, type TransitionConditionType, type TransitionConfig, type TransitionEventParams, type TriggerSyncResponse, UNIPILE_RATE_LIMIT_ERRORS, UNIPILE_SAFE_LIMITS, type UUID, type UnlinkConversationsResponse, type UpdateAppStatusParams, type UpdateAppStatusResponse, type UpdateDraftRequest, type UpdateLinkedInSubscriptionRequest, type UpdatePersonaRequest, type UpdatePersonaResponse, type UpdateStepExecutionRequest, type UpdateStepExecutionResponse, type UpdateThreadRequest, type UserConnectionsResponse, type UserCreateRequest, type UserDeleteResponse, type UserIdentifier, type UserListResponse, type UserResponse, type UserUpdateRequest, UsersResource, VALID_EVENT_TYPES, type ValidatedCandidate, ValidationError, type ValidationIssue, type ValidationResponse, type WebhookEvent, type WebhookPayload, type WeightedCall, type WeightedCallOption, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getDefaultDailyLimits, getInmailAllowance, getLimits, getMessageLimit, getRateLimit, hasOpenProfileMessages, isRecruiterSubscription, normalizeAction, verifyWebhookSignature };
9352
+ 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
@@ -1038,6 +1038,12 @@ class CrmResource {
1038
1038
  * details through `accountRef`. Provider degradation and unknown deal stages
1039
1039
  * are returned explicitly and must not be treated as safe negative results.
1040
1040
  *
1041
+ * Capped at 100 candidates per request; chunk longer lists and reassemble by
1042
+ * `inputKey`. Provider selection comes from the resolved owner's active
1043
+ * HubSpot/Attio connections: no active supported connection is
1044
+ * `409 crm_not_connected`, and a connection-verification failure is a
1045
+ * retryable `503 crm_connection_status_unavailable`.
1046
+ *
1041
1047
  * @example
1042
1048
  * ```typescript
1043
1049
  * const context = await client.crm.accountContextBatch({
@@ -3236,7 +3242,13 @@ class ResponsesResource {
3236
3242
  throw new ValidationError("criteria_definitions cannot be empty");
3237
3243
  const criterionIds = /* @__PURE__ */ new Set();
3238
3244
  const columnNames = /* @__PURE__ */ new Set();
3239
- const validTypes = ["universal", "varying", "validation_only"];
3245
+ const validTypes = [
3246
+ "universal",
3247
+ "post_hard",
3248
+ "varying",
3249
+ "post_soft",
3250
+ "validation_only"
3251
+ ];
3240
3252
  criteriaDefinitions.forEach((criterion, index) => {
3241
3253
  if (!this._isPlainObject(criterion))
3242
3254
  throw new ValidationError(`Criterion ${index} must be an object`);
@@ -3270,7 +3282,9 @@ class ResponsesResource {
3270
3282
  if (!this._isPlainObject(criteriaClassification))
3271
3283
  throw new ValidationError("criteria_classification must be an object");
3272
3284
  const universalCriteria = this._getParamValue(criteriaClassification, "universalCriteria", "universal_criteria");
3285
+ const postHardCriteria = this._getParamValue(criteriaClassification, "postHardCriteria", "post_hard_criteria");
3273
3286
  const varyingCriteria = this._getParamValue(criteriaClassification, "varyingCriteria", "varying_criteria");
3287
+ const postSoftCriteria = this._getParamValue(criteriaClassification, "postSoftCriteria", "post_soft_criteria");
3274
3288
  const validationOnlyCriteria = this._getParamValue(criteriaClassification, "validationOnlyCriteria", "validation_only_criteria");
3275
3289
  if (!Array.isArray(universalCriteria))
3276
3290
  throw new ValidationError("criteria_classification missing or invalid universal_criteria");
@@ -3278,6 +3292,10 @@ class ResponsesResource {
3278
3292
  throw new ValidationError("criteria_classification missing or invalid varying_criteria");
3279
3293
  if (!Array.isArray(validationOnlyCriteria))
3280
3294
  throw new ValidationError("criteria_classification missing or invalid validation_only_criteria");
3295
+ if (postHardCriteria !== void 0 && !Array.isArray(postHardCriteria))
3296
+ throw new ValidationError("criteria_classification has invalid post_hard_criteria");
3297
+ if (postSoftCriteria !== void 0 && !Array.isArray(postSoftCriteria))
3298
+ throw new ValidationError("criteria_classification has invalid post_soft_criteria");
3281
3299
  }
3282
3300
  _validateCompetitorPostEngagementParams(params) {
3283
3301
  const company = this._getParamValue(params, "company", "company");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lumnisai",
3
3
  "type": "module",
4
- "version": "0.5.42",
4
+ "version": "0.5.44",
5
5
  "description": "Official Node.js SDK for the Lumnis AI API",
6
6
  "author": "Lumnis AI",
7
7
  "license": "MIT",