lumnisai 0.3.1 → 0.3.3

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
@@ -2089,6 +2089,67 @@ class PeopleResource {
2089
2089
  throw error;
2090
2090
  }
2091
2091
  }
2092
+ /**
2093
+ * Preview LinkedIn posts metadata without fetching full reactor lists.
2094
+ *
2095
+ * Returns engagement counts (reactions, comments) for each post URL.
2096
+ * Useful for estimating search scope before running a full deep search.
2097
+ *
2098
+ * Cost: 1 CrustData credit per post.
2099
+ *
2100
+ * @param params - Post preview request parameters
2101
+ * @param params.postUrls - LinkedIn post URLs to preview (max 50)
2102
+ * @returns Promise resolving to post preview results
2103
+ * @throws {ValidationError} For invalid request parameters
2104
+ *
2105
+ * @example
2106
+ * ```typescript
2107
+ * const response = await client.people.previewPosts({
2108
+ * postUrls: [
2109
+ * 'https://www.linkedin.com/posts/username_topic-activity-123456-hash',
2110
+ * 'https://www.linkedin.com/posts/another_post-activity-789012-hash'
2111
+ * ]
2112
+ * });
2113
+ *
2114
+ * for (const post of response.posts) {
2115
+ * if (post.status === 'success') {
2116
+ * console.log(`${post.authorName}: ${post.totalReactions} reactions`);
2117
+ * }
2118
+ * }
2119
+ * ```
2120
+ */
2121
+ async previewPosts(params) {
2122
+ const { postUrls } = params;
2123
+ if (!postUrls || postUrls.length === 0) {
2124
+ throw new ValidationError("At least one post URL is required", {
2125
+ code: "INVALID_POST_URLS"
2126
+ });
2127
+ }
2128
+ if (postUrls.length > 50) {
2129
+ throw new ValidationError("Maximum 50 post URLs allowed", {
2130
+ code: "TOO_MANY_URLS"
2131
+ });
2132
+ }
2133
+ try {
2134
+ const response = await this.http.post(
2135
+ "/people/posts/preview",
2136
+ { postUrls }
2137
+ );
2138
+ return response;
2139
+ } catch (error) {
2140
+ if (error instanceof ValidationError) {
2141
+ const details = error.details || {};
2142
+ const errorDetail = details.detail?.error || details.error;
2143
+ if (errorDetail?.code === "NO_CRUSTDATA_KEY") {
2144
+ throw new ValidationError(
2145
+ errorDetail.message || "CrustData API key not configured. Required for posts preview.",
2146
+ { code: "NO_CRUSTDATA_KEY" }
2147
+ );
2148
+ }
2149
+ }
2150
+ throw error;
2151
+ }
2152
+ }
2092
2153
  }
2093
2154
 
2094
2155
  class ResponsesResource {
@@ -2946,6 +3007,70 @@ class SequencesResource {
2946
3007
  async bulkApprove(request, userId) {
2947
3008
  return this.bulkApprovalAction({ ...request, action: "approve" }, userId);
2948
3009
  }
3010
+ // ==================== Step Executions Query ====================
3011
+ /**
3012
+ * List step executions with flexible filtering.
3013
+ *
3014
+ * Query step executions by status, template, project, user, channel, action,
3015
+ * and scheduled time range.
3016
+ *
3017
+ * Common use cases:
3018
+ * - Get scheduled messages: `{ status: 'scheduled' }`
3019
+ * - Get pending approvals: `{ status: 'waiting_approval' }`
3020
+ * - Get sent messages: `{ status: 'sent' }`
3021
+ * - Get multiple statuses: `{ status: ['scheduled', 'approved'] }`
3022
+ * - Get scheduled today: `{ status: 'scheduled', scheduledAfter: '2026-01-29T00:00:00Z', scheduledBefore: '2026-01-30T00:00:00Z' }`
3023
+ *
3024
+ * @param options - Filter options for querying step executions
3025
+ */
3026
+ async listStepExecutions(options) {
3027
+ const params = {};
3028
+ if (options?.status) {
3029
+ params.status = Array.isArray(options.status) ? options.status : [options.status];
3030
+ }
3031
+ if (options?.templateId)
3032
+ params.template_id = options.templateId;
3033
+ if (options?.projectId)
3034
+ params.project_id = options.projectId;
3035
+ if (options?.userId)
3036
+ params.user_id = options.userId;
3037
+ if (options?.channel)
3038
+ params.channel = options.channel;
3039
+ if (options?.action)
3040
+ params.action = options.action;
3041
+ if (options?.scheduledAfter)
3042
+ params.scheduled_after = options.scheduledAfter;
3043
+ if (options?.scheduledBefore)
3044
+ params.scheduled_before = options.scheduledBefore;
3045
+ if (options?.limit !== void 0)
3046
+ params.limit = options.limit;
3047
+ if (options?.offset !== void 0)
3048
+ params.offset = options.offset;
3049
+ return this.http.get(
3050
+ "/sequences/step-executions",
3051
+ { params }
3052
+ );
3053
+ }
3054
+ /**
3055
+ * Update a scheduled step execution's content or scheduled time.
3056
+ *
3057
+ * Only works for step executions in 'scheduled', 'approved', or 'waiting_approval' status.
3058
+ *
3059
+ * Use cases:
3060
+ * - Edit message content before sending
3061
+ * - Reschedule when a message will be sent
3062
+ *
3063
+ * @param stepExecutionId - The step execution ID to update
3064
+ * @param request - The update request with optional content and/or scheduledAt
3065
+ * @param userId - User ID or email making the update
3066
+ */
3067
+ async updateStepExecution(stepExecutionId, request, userId) {
3068
+ return this.http.patch(
3069
+ `/sequences/step-executions/${encodeURIComponent(stepExecutionId)}`,
3070
+ request,
3071
+ { params: { user_id: userId } }
3072
+ );
3073
+ }
2949
3074
  // ==================== Batch Polling ====================
2950
3075
  /**
2951
3076
  * Batch poll multiple sequence data types in a single request.
package/dist/index.d.cts CHANGED
@@ -737,6 +737,50 @@ interface PeopleSearchResponse {
737
737
  /** List of data sources that were actually used */
738
738
  dataSourcesUsed: string[];
739
739
  }
740
+ /**
741
+ * Request model for LinkedIn post preview.
742
+ */
743
+ interface PostPreviewRequest {
744
+ /**
745
+ * LinkedIn post URLs to preview (max 50).
746
+ * Format: https://www.linkedin.com/posts/username_topic-activity-123456-hash
747
+ */
748
+ postUrls: string[];
749
+ }
750
+ /**
751
+ * Result for a single LinkedIn post preview.
752
+ */
753
+ interface PostPreviewResult {
754
+ /** The post URL that was requested */
755
+ url: string;
756
+ /** Status of the preview: 'success' or 'error' */
757
+ status: 'success' | 'error';
758
+ /** Error message if status is 'error' */
759
+ error?: string | null;
760
+ /** Post author's name */
761
+ authorName?: string | null;
762
+ /** First 300 characters of post text */
763
+ textPreview?: string | null;
764
+ /** Total number of reactions on the post */
765
+ totalReactions?: number | null;
766
+ /** Total number of comments on the post */
767
+ totalComments?: number | null;
768
+ /** Number of shares */
769
+ numShares?: number | null;
770
+ /** Breakdown of reactions by type (like, praise, empathy, etc.) */
771
+ reactionsByType?: Record<string, number> | null;
772
+ /** When the post was published (ISO string) */
773
+ datePosted?: string | null;
774
+ /** LinkedIn share URL */
775
+ shareUrl?: string | null;
776
+ }
777
+ /**
778
+ * Response model for LinkedIn post preview endpoint.
779
+ */
780
+ interface PostPreviewResponse {
781
+ /** List of post preview results (same order as request) */
782
+ posts: PostPreviewResult[];
783
+ }
740
784
 
741
785
  type ResponseStatus = 'queued' | 'in_progress' | 'succeeded' | 'failed' | 'cancelled';
742
786
  interface FileAttachment {
@@ -796,8 +840,161 @@ interface CriteriaMetadata {
796
840
  criteriaDefinitions: CriterionDefinition[];
797
841
  criteriaClassification: CriteriaClassification;
798
842
  }
843
+ /**
844
+ * Preview metadata for progressive surfacing during deep search.
845
+ * Shows partial results as batches complete.
846
+ */
847
+ interface DeepSearchPreview {
848
+ /** True if results are still being processed */
849
+ isPartial: boolean;
850
+ /** Current processing phase */
851
+ phase: 'fast_filter_in_progress' | 'fast_filter_complete' | 'validation_complete' | string;
852
+ /** Number of batches completed so far */
853
+ batchesComplete?: number;
854
+ /** Total number of batches to process */
855
+ batchesTotal?: number;
856
+ /** Total candidates that have passed filtering so far */
857
+ totalPassed?: number;
858
+ /** Number of candidates shown in this preview (capped at 50) */
859
+ candidatesShown?: number;
860
+ /** Total candidates excluded so far */
861
+ totalExcluded?: number;
862
+ /** Candidates pending deep validation */
863
+ pendingDeepValidation?: number;
864
+ /** ISO timestamp of last update */
865
+ lastUpdate?: string;
866
+ }
867
+ /**
868
+ * Source of evidence for a criterion evaluation.
869
+ */
870
+ interface EvidenceSource {
871
+ /** Type of source: profile data or web search */
872
+ sourceType: 'profile' | 'web_search';
873
+ /** Field name (for profile) or search query (for web) */
874
+ fieldOrQuery: string;
875
+ /** URL if from web search */
876
+ url?: string | null;
877
+ }
878
+ /**
879
+ * Result of evaluating a single criterion for a candidate.
880
+ * Contains scoring, evidence, and reasoning.
881
+ */
882
+ interface CriterionResult {
883
+ /** Unique identifier matching criteria definition */
884
+ criterionId: string;
885
+ /** Type: universal, varying, or validation_only */
886
+ criterionType: CriterionType;
887
+ /** Column name for display */
888
+ columnName: string;
889
+ /** User-friendly display text for the criterion */
890
+ criterionText: string;
891
+ /** Weight used in score calculation (0.0-1.0) */
892
+ weight: number;
893
+ /** Whether the criterion was met */
894
+ criterionMet: boolean;
895
+ /** Score for this criterion (0-10) */
896
+ score: number;
897
+ /** Confidence in the evaluation (0.0-1.0) */
898
+ confidence: number;
899
+ /** User-facing explanation of what was checked and found (min 2 sentences) */
900
+ reasoning: string;
901
+ /** Concrete evidence with sources */
902
+ evidence: string;
903
+ /** List of sources where evidence was found */
904
+ evidenceSources: EvidenceSource[];
905
+ /** Whether sufficient data was available */
906
+ sufficientInformation: boolean;
907
+ /** Explanation of why data was/wasn't sufficient */
908
+ sufficientInformationReasoning: string;
909
+ /** Explanation of what's missing and whether inference is possible */
910
+ inferenceReasoning?: string | null;
911
+ /** Specific signals used for inference (career progression, company selectivity, etc.) */
912
+ inferenceSignalsUsed?: string | null;
913
+ /** One-sentence summary connecting signals to criterion */
914
+ inferenceSummary?: string | null;
915
+ /** True if evaluation relies on inference rather than direct evidence */
916
+ inferenceApplied: boolean;
917
+ /** Why criterion was/wasn't met */
918
+ criterionMetReasoning: string;
919
+ /** Why this specific score was given */
920
+ scoreReasoning: string;
921
+ /** Why this confidence level */
922
+ confidenceReasoning: string;
923
+ }
924
+ /**
925
+ * Validated candidate with scoring and criterion results.
926
+ * Returned from deep_people_search after validation.
927
+ */
928
+ interface ValidatedCandidate {
929
+ /** Unique identifier for the candidate */
930
+ candidateId: string;
931
+ /** Full name */
932
+ name: string;
933
+ /** LinkedIn profile URL */
934
+ linkedinUrl?: string;
935
+ /** Current job title */
936
+ currentTitle?: string;
937
+ /** Current company */
938
+ currentCompany?: string;
939
+ /** Location */
940
+ location?: string;
941
+ /** Profile picture URL */
942
+ profilePictureUrl?: string;
943
+ /** Overall match score (0-10) */
944
+ overallScore: number;
945
+ /** Weighted average of criterion confidences */
946
+ overallConfidence: number;
947
+ /** User-facing summary (3-5 sentences with highlights) */
948
+ summary: string;
949
+ /** Results for each evaluated criterion */
950
+ criterionResults: CriterionResult[];
951
+ /** Warnings about criteria that couldn't be fully verified */
952
+ criteriaQualityWarnings?: string[];
953
+ /** Explanation of LinkedIn engagement relevance (if applicable) */
954
+ engagementReasoning?: string | null;
955
+ /** Source of candidate data */
956
+ source?: string;
957
+ /** Raw profile data */
958
+ [key: string]: any;
959
+ }
960
+ /**
961
+ * Search statistics from deep people search.
962
+ */
963
+ interface DeepSearchStats {
964
+ /** Candidates that passed fast filter */
965
+ fastFilterPassed?: number;
966
+ /** Candidates excluded by fast filter */
967
+ fastFilterExcluded?: number;
968
+ /** Candidates pending deep validation */
969
+ pendingDeepValidation?: number;
970
+ /** Batches completed */
971
+ batchesComplete?: number;
972
+ /** Total batches */
973
+ batchesTotal?: number;
974
+ }
975
+ /**
976
+ * Structured output from deep_people_search specialized agent.
977
+ * Available in ResponseObject.structuredResponse.
978
+ */
979
+ interface DeepPeopleSearchOutput {
980
+ /** Preview metadata for progressive surfacing */
981
+ preview?: DeepSearchPreview;
982
+ /** Validated candidates (sorted by score descending) */
983
+ candidates: ValidatedCandidate[];
984
+ /** Candidates that were excluded (limited to 100) */
985
+ excludedCandidates?: ValidatedCandidate[];
986
+ /** Total candidates found before filtering */
987
+ totalFound?: number;
988
+ /** Search statistics */
989
+ searchStats?: DeepSearchStats;
990
+ /** Criteria metadata */
991
+ criteria?: CriteriaMetadata;
992
+ }
799
993
  interface StructuredResponse extends Record<string, any> {
800
994
  criteria?: CriteriaMetadata;
995
+ /** Deep people search output (when using deep_people_search agent) */
996
+ preview?: DeepSearchPreview;
997
+ candidates?: ValidatedCandidate[];
801
998
  }
802
999
  /**
803
1000
  * Available specialized agents
@@ -3212,6 +3409,36 @@ declare class PeopleResource {
3212
3409
  * ```
3213
3410
  */
3214
3411
  quickSearch(params: PeopleSearchRequest): Promise<PeopleSearchResponse>;
3412
+ /**
3413
+ * Preview LinkedIn posts metadata without fetching full reactor lists.
3414
+ *
3415
+ * Returns engagement counts (reactions, comments) for each post URL.
3416
+ * Useful for estimating search scope before running a full deep search.
3417
+ *
3418
+ * Cost: 1 CrustData credit per post.
3419
+ *
3420
+ * @param params - Post preview request parameters
3421
+ * @param params.postUrls - LinkedIn post URLs to preview (max 50)
3422
+ * @returns Promise resolving to post preview results
3423
+ * @throws {ValidationError} For invalid request parameters
3424
+ *
3425
+ * @example
3426
+ * ```typescript
3427
+ * const response = await client.people.previewPosts({
3428
+ * postUrls: [
3429
+ * 'https://www.linkedin.com/posts/username_topic-activity-123456-hash',
3430
+ * 'https://www.linkedin.com/posts/another_post-activity-789012-hash'
3431
+ * ]
3432
+ * });
3433
+ *
3434
+ * for (const post of response.posts) {
3435
+ * if (post.status === 'success') {
3436
+ * console.log(`${post.authorName}: ${post.totalReactions} reactions`);
3437
+ * }
3438
+ * }
3439
+ * ```
3440
+ */
3441
+ previewPosts(params: PostPreviewRequest): Promise<PostPreviewResponse>;
3215
3442
  }
3216
3443
 
3217
3444
  declare class ResponsesResource {
@@ -3687,6 +3914,61 @@ interface BulkApprovalResponse {
3687
3914
  totalSucceeded: number;
3688
3915
  totalFailed: number;
3689
3916
  }
3917
+ interface StepExecutionItem {
3918
+ stepExecutionId: string;
3919
+ executionId: string;
3920
+ templateId: string;
3921
+ templateName?: string;
3922
+ projectId?: string;
3923
+ prospectId?: string;
3924
+ prospectExternalId?: string;
3925
+ prospectName?: string;
3926
+ prospectTitle?: string;
3927
+ prospectCompany?: string;
3928
+ stepKey?: string;
3929
+ stepName?: string;
3930
+ channel: string;
3931
+ action: string;
3932
+ status: string;
3933
+ content?: string;
3934
+ subject?: string;
3935
+ aiPrecheckResult?: string;
3936
+ aiPrecheckReason?: string;
3937
+ scheduledAt?: string;
3938
+ sentAt?: string;
3939
+ errorMessage?: string;
3940
+ createdAt: string;
3941
+ }
3942
+ interface StepExecutionListResponse {
3943
+ items: StepExecutionItem[];
3944
+ total: number;
3945
+ limit: number;
3946
+ offset: number;
3947
+ hasMore: boolean;
3948
+ }
3949
+ interface UpdateStepExecutionRequest {
3950
+ content?: string;
3951
+ scheduledAt?: string;
3952
+ }
3953
+ interface UpdateStepExecutionResponse {
3954
+ stepExecutionId: string;
3955
+ status: string;
3956
+ content?: string;
3957
+ scheduledAt?: string;
3958
+ updated: boolean;
3959
+ }
3960
+ interface ListStepExecutionsOptions {
3961
+ status?: StepExecutionStatus | StepExecutionStatus[];
3962
+ templateId?: string;
3963
+ projectId?: string;
3964
+ userId?: string;
3965
+ channel?: SequenceChannel;
3966
+ action?: SequenceAction;
3967
+ scheduledAfter?: string;
3968
+ scheduledBefore?: string;
3969
+ limit?: number;
3970
+ offset?: number;
3971
+ }
3690
3972
  type OutcomeType = 'meeting_booked' | 'interested' | 'hired' | 'not_interested' | 'other';
3691
3973
  interface CompleteExecutionRequest {
3692
3974
  outcome: OutcomeType;
@@ -4160,6 +4442,36 @@ declare class SequencesResource {
4160
4442
  * @deprecated Use bulkApprovalAction with action='approve' instead.
4161
4443
  */
4162
4444
  bulkApprove(request: BulkApprovalRequest, userId: string): Promise<BulkApprovalResponse>;
4445
+ /**
4446
+ * List step executions with flexible filtering.
4447
+ *
4448
+ * Query step executions by status, template, project, user, channel, action,
4449
+ * and scheduled time range.
4450
+ *
4451
+ * Common use cases:
4452
+ * - Get scheduled messages: `{ status: 'scheduled' }`
4453
+ * - Get pending approvals: `{ status: 'waiting_approval' }`
4454
+ * - Get sent messages: `{ status: 'sent' }`
4455
+ * - Get multiple statuses: `{ status: ['scheduled', 'approved'] }`
4456
+ * - Get scheduled today: `{ status: 'scheduled', scheduledAfter: '2026-01-29T00:00:00Z', scheduledBefore: '2026-01-30T00:00:00Z' }`
4457
+ *
4458
+ * @param options - Filter options for querying step executions
4459
+ */
4460
+ listStepExecutions(options?: ListStepExecutionsOptions): Promise<StepExecutionListResponse>;
4461
+ /**
4462
+ * Update a scheduled step execution's content or scheduled time.
4463
+ *
4464
+ * Only works for step executions in 'scheduled', 'approved', or 'waiting_approval' status.
4465
+ *
4466
+ * Use cases:
4467
+ * - Edit message content before sending
4468
+ * - Reschedule when a message will be sent
4469
+ *
4470
+ * @param stepExecutionId - The step execution ID to update
4471
+ * @param request - The update request with optional content and/or scheduledAt
4472
+ * @param userId - User ID or email making the update
4473
+ */
4474
+ updateStepExecution(stepExecutionId: string, request: UpdateStepExecutionRequest, userId: string): Promise<UpdateStepExecutionResponse>;
4163
4475
  /**
4164
4476
  * Batch poll multiple sequence data types in a single request.
4165
4477
  *
@@ -4721,4 +5033,4 @@ declare class ProgressTracker {
4721
5033
  */
4722
5034
  declare function verifyWebhookSignature(payload: string, signature: string, secret: string): boolean;
4723
5035
 
4724
- export { ACTION_DELAYS, type ActionLimit, type AddAndRunCriterionRequest, type AddCriterionRequest, type AgentConfig, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, type ApprovalItem, type ApprovalListResponse, type ApprovalResponse, 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 CancelDraftResponse, type CancelResponseResponse, type ChannelContactHistory, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type CompleteExecutionRequest, type CompleteExecutionResponse, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ConnectionsSyncStatus, type ContactHistorySyncStatus, 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 CriterionType, DAILY_INMAIL_LIMITS, type DatabaseStatus, type DeleteApiKeyResponse, type DeleteConnectionsResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type DuplicateTemplateRequest, type Email, type EmailAction, type EmailThreadSummary, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, 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 GetConnectionStatusParams, type GetToolsRequest, type GetToolsResponse, type GetUserConnectionsParams, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, InternalServerError, LINKEDIN_LIMITS, type LifecycleOperationRequest, type LifecycleOperationResponse, type LinkedInAccountInfoResponse, type LinkedInAction, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type LinkedInSyncStatusResponse, type ListApprovalsOptions, type ListExecutionsOptions, type ListProvidersResponse, 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 Message, type MessageReceivedData, type MessageResponse, type MessageSentData, MessageType, MessagingAPIError, MessagingConnectionError, MessagingNotFoundError, MessagingResource, MessagingSendError, MessagingValidationError, type MetricsParams, type MetricsRequestItem, type MetricsResponseItem, type ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, type OnFailure, type OutcomeType, OutreachMethod, type PaginationInfo, type PaginationParams, type PendingApprovalExtended, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PersonResult, type Plan, 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, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, type RateLimitData, RateLimitError, type RateLimitErrorOptions, type RateLimitInfo, type RateLimitStatusResponse, type RateLimitsParams, type RateLimitsRequestItem, type RateLimitsResponseItem, type RejectStepRequest, type ReplySentiment, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, type SequenceAction, type SequenceApprovalNeededData, type SequenceChannel, type SequenceEventType, type SequenceExecutionCompletedData, type SequenceExecutionFailedData, 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 SkipStepRequest, type SkipStepResponse, type SkippedProspect, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type StartExecutionRequest, type StartExecutionResponse, type StepConfig, type StepExecutionStatus, type StepHistoryEntry, type StepMetric, type StoreApiKeyRequest, type StructuredResponse, type SyncJobResponse, SyncJobStatus, SyncPhaseStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type TemplateShareConfig, type TemplateShareInfo, type TemplateShareRequest, type TemplateSharesResponse, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, type 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 UpdateThreadRequest, type UserConnectionsResponse, type UserCreateRequest, type UserDeleteResponse, type UserIdentifier, type UserListResponse, type UserResponse, type UserUpdateRequest, UsersResource, VALID_EVENT_TYPES, ValidationError, type ValidationIssue, type ValidationResponse, type WebhookEvent, type WebhookPayload, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getInmailAllowance, getLimits, getMessageLimit, hasOpenProfileMessages, isRecruiterSubscription, verifyWebhookSignature };
5036
+ export { ACTION_DELAYS, type ActionLimit, type AddAndRunCriterionRequest, type AddCriterionRequest, type AgentConfig, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, type ApprovalItem, type ApprovalListResponse, type ApprovalResponse, 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 CancelDraftResponse, type CancelResponseResponse, type ChannelContactHistory, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type CompleteExecutionRequest, type CompleteExecutionResponse, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ConnectionsSyncStatus, type ContactHistorySyncStatus, 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, DAILY_INMAIL_LIMITS, type DatabaseStatus, type DeepPeopleSearchOutput, type DeepSearchPreview, type DeepSearchStats, type DeleteApiKeyResponse, type DeleteConnectionsResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type DuplicateTemplateRequest, type Email, type EmailAction, type EmailThreadSummary, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceSource, type ExecutionDetailResponse, type ExecutionEvent, type ExecutionEventData, type ExecutionListResponse, type ExecutionMetricsOptions, type ExecutionMetricsResponse, type ExecutionStatus, type ExecutionSummary, type ExecutionSummaryExtended, type ExecutionsParams, type ExecutionsRequestItem, type ExecutionsResponseItem, ExternalAPIKeysResource, type ExternalApiKeyResponse, type FeedbackListResponse, type FeedbackObject, type FeedbackType, type FileAttachment, type FileChunk, type FileContentResponse, type FileListResponse, type FileMetadata, type FileScope, type FileScopeUpdateRequest, type FileSearchRequest, type FileSearchResponse, type FileSearchResult, type FileStatisticsResponse, type FileUploadResponse, FilesResource, type FilterLogic, type FilterValue, type GetConnectionStatusParams, type GetToolsRequest, type GetToolsResponse, type GetUserConnectionsParams, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, InternalServerError, LINKEDIN_LIMITS, type LifecycleOperationRequest, type LifecycleOperationResponse, type LinkedInAccountInfoResponse, type LinkedInAction, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type LinkedInSyncStatusResponse, type ListApprovalsOptions, type ListExecutionsOptions, 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 Message, type MessageReceivedData, type MessageResponse, type MessageSentData, MessageType, MessagingAPIError, MessagingConnectionError, MessagingNotFoundError, MessagingResource, MessagingSendError, MessagingValidationError, type MetricsParams, type MetricsRequestItem, type MetricsResponseItem, type ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, type OnFailure, type OutcomeType, OutreachMethod, type PaginationInfo, type PaginationParams, type PendingApprovalExtended, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PersonResult, type Plan, type PostPreviewRequest, type PostPreviewResponse, type PostPreviewResult, 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, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, type RateLimitData, RateLimitError, type RateLimitErrorOptions, type RateLimitInfo, type RateLimitStatusResponse, type RateLimitsParams, type RateLimitsRequestItem, type RateLimitsResponseItem, type RejectStepRequest, type ReplySentiment, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, type SequenceAction, type SequenceApprovalNeededData, type SequenceChannel, type SequenceEventType, type SequenceExecutionCompletedData, type SequenceExecutionFailedData, 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 SkipStepRequest, type SkipStepResponse, type SkippedProspect, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type StartExecutionRequest, type StartExecutionResponse, type StepConfig, type StepExecutionItem, type StepExecutionListResponse, type StepExecutionStatus, type StepHistoryEntry, type StepMetric, type StoreApiKeyRequest, type StructuredResponse, type SyncJobResponse, SyncJobStatus, SyncPhaseStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type TemplateShareConfig, type TemplateShareInfo, type TemplateShareRequest, type TemplateSharesResponse, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, type 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 UpdateStepExecutionRequest, type UpdateStepExecutionResponse, type UpdateThreadRequest, type UserConnectionsResponse, type UserCreateRequest, type UserDeleteResponse, type UserIdentifier, type UserListResponse, type UserResponse, type UserUpdateRequest, UsersResource, VALID_EVENT_TYPES, type ValidatedCandidate, ValidationError, type ValidationIssue, type ValidationResponse, type WebhookEvent, type WebhookPayload, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getInmailAllowance, getLimits, getMessageLimit, hasOpenProfileMessages, isRecruiterSubscription, verifyWebhookSignature };