lumnisai 0.1.23 → 0.1.25
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.d.cts +64 -1
- package/dist/index.d.mts +64 -1
- package/dist/index.d.ts +64 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -663,6 +663,20 @@ interface SpecializedAgentParams {
|
|
|
663
663
|
* For people search agents: ["PDL", "CORESIGNAL", "CRUST_DATA"]
|
|
664
664
|
*/
|
|
665
665
|
dataSources?: string[];
|
|
666
|
+
/**
|
|
667
|
+
* Custom LinkedIn profile URLs to exclude from people search results.
|
|
668
|
+
* Used for CrustData post-processing (exclude_profiles) and also applied as a server-side post-filter.
|
|
669
|
+
*/
|
|
670
|
+
excludeProfiles?: string[];
|
|
671
|
+
/**
|
|
672
|
+
* If true, exclude people the user has previously contacted (best-effort via stored LinkedIn URLs).
|
|
673
|
+
* @default false
|
|
674
|
+
*/
|
|
675
|
+
excludePreviouslyContacted?: boolean;
|
|
676
|
+
/**
|
|
677
|
+
* Names to exclude from results (passed through to CrustData post-processing when supported).
|
|
678
|
+
*/
|
|
679
|
+
excludeNames?: string[];
|
|
666
680
|
/**
|
|
667
681
|
* Additional parameters for any specialized agent
|
|
668
682
|
* This allows flexibility for future agents without SDK updates
|
|
@@ -1436,6 +1450,11 @@ declare enum LinkedInSubscriptionType {
|
|
|
1436
1450
|
RECRUITER_LITE = "recruiter_lite",
|
|
1437
1451
|
RECRUITER_CORPORATE = "recruiter_corporate"
|
|
1438
1452
|
}
|
|
1453
|
+
/**
|
|
1454
|
+
* InMail subscription types for explicit subscription selection when sending InMails.
|
|
1455
|
+
* Use null or omit to auto-select based on available credits.
|
|
1456
|
+
*/
|
|
1457
|
+
type InmailSubscription = 'sales_navigator' | 'recruiter_lite' | 'recruiter_corporate' | 'premium';
|
|
1439
1458
|
/**
|
|
1440
1459
|
* LinkedIn network distance values
|
|
1441
1460
|
*/
|
|
@@ -1488,6 +1507,8 @@ interface LinkedInSendRequest {
|
|
|
1488
1507
|
prospectProviderId?: string | null;
|
|
1489
1508
|
prospectLinkedInUrl?: string | null;
|
|
1490
1509
|
prospectName: string;
|
|
1510
|
+
/** Optional subject line (used for LinkedIn InMail). */
|
|
1511
|
+
subject?: string | null;
|
|
1491
1512
|
content: string;
|
|
1492
1513
|
isPriority?: boolean;
|
|
1493
1514
|
enableEscalation?: boolean;
|
|
@@ -1548,6 +1569,15 @@ interface CreateDraftRequest {
|
|
|
1548
1569
|
isPriority?: boolean;
|
|
1549
1570
|
outreachMethod?: string | null;
|
|
1550
1571
|
organizationId?: string | null;
|
|
1572
|
+
/**
|
|
1573
|
+
* Explicit InMail subscription to use for sending (LinkedIn InMail only).
|
|
1574
|
+
* - 'sales_navigator': Use Sales Navigator InMail credits
|
|
1575
|
+
* - 'recruiter_lite': Use Recruiter Lite InMail credits
|
|
1576
|
+
* - 'recruiter_corporate': Use Recruiter Corporate InMail credits
|
|
1577
|
+
* - 'premium': Use Premium/Career InMail credits
|
|
1578
|
+
* - null/undefined: Auto-select subscription with available credits (default)
|
|
1579
|
+
*/
|
|
1580
|
+
inmailSubscription?: InmailSubscription | null;
|
|
1551
1581
|
}
|
|
1552
1582
|
/**
|
|
1553
1583
|
* Request to update a draft
|
|
@@ -1561,6 +1591,15 @@ interface UpdateDraftRequest {
|
|
|
1561
1591
|
* Valid values: 'connection_request' | 'direct_message' | 'inmail' | 'inmail_escalation'
|
|
1562
1592
|
*/
|
|
1563
1593
|
outreachMethod?: OutreachMethod | null;
|
|
1594
|
+
/**
|
|
1595
|
+
* Explicit InMail subscription to use for sending (LinkedIn InMail only).
|
|
1596
|
+
* - 'sales_navigator': Use Sales Navigator InMail credits
|
|
1597
|
+
* - 'recruiter_lite': Use Recruiter Lite InMail credits
|
|
1598
|
+
* - 'recruiter_corporate': Use Recruiter Corporate InMail credits
|
|
1599
|
+
* - 'premium': Use Premium/Career InMail credits
|
|
1600
|
+
* - null/undefined: Auto-select subscription with available credits (default)
|
|
1601
|
+
*/
|
|
1602
|
+
inmailSubscription?: InmailSubscription | null;
|
|
1564
1603
|
}
|
|
1565
1604
|
/**
|
|
1566
1605
|
* Prospect info for batch draft creation
|
|
@@ -1596,6 +1635,16 @@ interface ProspectInfo {
|
|
|
1596
1635
|
* @default 0
|
|
1597
1636
|
*/
|
|
1598
1637
|
priority?: number;
|
|
1638
|
+
/**
|
|
1639
|
+
* Explicit InMail subscription to use for this prospect (LinkedIn InMail only).
|
|
1640
|
+
* Overrides batch-level auto-selection when outreachMethod is 'inmail'.
|
|
1641
|
+
* - 'sales_navigator': Use Sales Navigator InMail credits
|
|
1642
|
+
* - 'recruiter_lite': Use Recruiter Lite InMail credits
|
|
1643
|
+
* - 'recruiter_corporate': Use Recruiter Corporate InMail credits
|
|
1644
|
+
* - 'premium': Use Premium/Career InMail credits
|
|
1645
|
+
* - null/undefined: Auto-select subscription with available credits (default)
|
|
1646
|
+
*/
|
|
1647
|
+
inmailSubscription?: InmailSubscription | null;
|
|
1599
1648
|
}
|
|
1600
1649
|
/**
|
|
1601
1650
|
* Request to create batch drafts
|
|
@@ -1635,6 +1684,15 @@ interface DraftSendOverride {
|
|
|
1635
1684
|
* Note: Only applies to LinkedIn drafts.
|
|
1636
1685
|
*/
|
|
1637
1686
|
outreachMethod?: OutreachMethod;
|
|
1687
|
+
/**
|
|
1688
|
+
* Override the InMail subscription for this draft (LinkedIn InMail only).
|
|
1689
|
+
* - 'sales_navigator': Use Sales Navigator InMail credits
|
|
1690
|
+
* - 'recruiter_lite': Use Recruiter Lite InMail credits
|
|
1691
|
+
* - 'recruiter_corporate': Use Recruiter Corporate InMail credits
|
|
1692
|
+
* - 'premium': Use Premium/Career InMail credits
|
|
1693
|
+
* - null: Clear any previous selection and auto-select
|
|
1694
|
+
*/
|
|
1695
|
+
inmailSubscription?: InmailSubscription | null;
|
|
1638
1696
|
}
|
|
1639
1697
|
/**
|
|
1640
1698
|
* Request to batch send drafts with optional rate limiting and queue priority.
|
|
@@ -1867,6 +1925,11 @@ interface DraftResponse {
|
|
|
1867
1925
|
scheduledFor?: string | null;
|
|
1868
1926
|
/** Error details if status is 'failed' */
|
|
1869
1927
|
errorMessage?: string | null;
|
|
1928
|
+
/**
|
|
1929
|
+
* InMail subscription selected for this draft (LinkedIn InMail only).
|
|
1930
|
+
* null means auto-selection will be used when sending.
|
|
1931
|
+
*/
|
|
1932
|
+
inmailSubscription?: InmailSubscription | null;
|
|
1870
1933
|
}
|
|
1871
1934
|
/**
|
|
1872
1935
|
* Response from batch draft creation (legacy synchronous mode)
|
|
@@ -3268,4 +3331,4 @@ declare class ProgressTracker {
|
|
|
3268
3331
|
*/
|
|
3269
3332
|
declare function verifyWebhookSignature(payload: string, signature: string, secret: string): boolean;
|
|
3270
3333
|
|
|
3271
|
-
export { ACTION_DELAYS, type AgentConfig, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, 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, BatchJobStatus, type BatchProspectIdentifier, type BatchSendRequest, type BatchSendResponse, type BillingStatus, type BulkDeleteRequest, type BulkDeleteResponse, type BulkUploadResponse, type CancelDraftResponse, type CancelResponseResponse, type ChannelContactHistory, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type DatabaseStatus, type DeleteApiKeyResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type Email, type EmailThreadSummary, type ErrorResponse, 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, IntegrationsResource, InternalServerError, LINKEDIN_LIMITS, type LinkedInAccountInfoResponse, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type ListProvidersResponse, 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 ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, OutreachMethod, type PaginationInfo, type PaginationParams, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PersonResult, type Plan, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProspectConnectionCheck, type ProspectInfo, type ProspectPriorContactResult, type ProspectSyncIdentifier, type ProspectSyncResult, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, RateLimitError, type RateLimitErrorOptions, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, 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, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type StoreApiKeyRequest, type SyncJobResponse, SyncJobStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, 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, ValidationError, type WebhookEvent, type WebhookPayload, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getInmailAllowance, getLimits, getMessageLimit, hasOpenProfileMessages, verifyWebhookSignature };
|
|
3334
|
+
export { ACTION_DELAYS, type AgentConfig, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, 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, BatchJobStatus, type BatchProspectIdentifier, type BatchSendRequest, type BatchSendResponse, type BillingStatus, type BulkDeleteRequest, type BulkDeleteResponse, type BulkUploadResponse, type CancelDraftResponse, type CancelResponseResponse, type ChannelContactHistory, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type DatabaseStatus, type DeleteApiKeyResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type Email, type EmailThreadSummary, type ErrorResponse, 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 LinkedInAccountInfoResponse, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type ListProvidersResponse, 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 ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, OutreachMethod, type PaginationInfo, type PaginationParams, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PersonResult, type Plan, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProspectConnectionCheck, type ProspectInfo, type ProspectPriorContactResult, type ProspectSyncIdentifier, type ProspectSyncResult, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, RateLimitError, type RateLimitErrorOptions, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, 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, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type StoreApiKeyRequest, type SyncJobResponse, SyncJobStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, 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, ValidationError, type WebhookEvent, type WebhookPayload, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getInmailAllowance, getLimits, getMessageLimit, hasOpenProfileMessages, verifyWebhookSignature };
|
package/dist/index.d.mts
CHANGED
|
@@ -663,6 +663,20 @@ interface SpecializedAgentParams {
|
|
|
663
663
|
* For people search agents: ["PDL", "CORESIGNAL", "CRUST_DATA"]
|
|
664
664
|
*/
|
|
665
665
|
dataSources?: string[];
|
|
666
|
+
/**
|
|
667
|
+
* Custom LinkedIn profile URLs to exclude from people search results.
|
|
668
|
+
* Used for CrustData post-processing (exclude_profiles) and also applied as a server-side post-filter.
|
|
669
|
+
*/
|
|
670
|
+
excludeProfiles?: string[];
|
|
671
|
+
/**
|
|
672
|
+
* If true, exclude people the user has previously contacted (best-effort via stored LinkedIn URLs).
|
|
673
|
+
* @default false
|
|
674
|
+
*/
|
|
675
|
+
excludePreviouslyContacted?: boolean;
|
|
676
|
+
/**
|
|
677
|
+
* Names to exclude from results (passed through to CrustData post-processing when supported).
|
|
678
|
+
*/
|
|
679
|
+
excludeNames?: string[];
|
|
666
680
|
/**
|
|
667
681
|
* Additional parameters for any specialized agent
|
|
668
682
|
* This allows flexibility for future agents without SDK updates
|
|
@@ -1436,6 +1450,11 @@ declare enum LinkedInSubscriptionType {
|
|
|
1436
1450
|
RECRUITER_LITE = "recruiter_lite",
|
|
1437
1451
|
RECRUITER_CORPORATE = "recruiter_corporate"
|
|
1438
1452
|
}
|
|
1453
|
+
/**
|
|
1454
|
+
* InMail subscription types for explicit subscription selection when sending InMails.
|
|
1455
|
+
* Use null or omit to auto-select based on available credits.
|
|
1456
|
+
*/
|
|
1457
|
+
type InmailSubscription = 'sales_navigator' | 'recruiter_lite' | 'recruiter_corporate' | 'premium';
|
|
1439
1458
|
/**
|
|
1440
1459
|
* LinkedIn network distance values
|
|
1441
1460
|
*/
|
|
@@ -1488,6 +1507,8 @@ interface LinkedInSendRequest {
|
|
|
1488
1507
|
prospectProviderId?: string | null;
|
|
1489
1508
|
prospectLinkedInUrl?: string | null;
|
|
1490
1509
|
prospectName: string;
|
|
1510
|
+
/** Optional subject line (used for LinkedIn InMail). */
|
|
1511
|
+
subject?: string | null;
|
|
1491
1512
|
content: string;
|
|
1492
1513
|
isPriority?: boolean;
|
|
1493
1514
|
enableEscalation?: boolean;
|
|
@@ -1548,6 +1569,15 @@ interface CreateDraftRequest {
|
|
|
1548
1569
|
isPriority?: boolean;
|
|
1549
1570
|
outreachMethod?: string | null;
|
|
1550
1571
|
organizationId?: string | null;
|
|
1572
|
+
/**
|
|
1573
|
+
* Explicit InMail subscription to use for sending (LinkedIn InMail only).
|
|
1574
|
+
* - 'sales_navigator': Use Sales Navigator InMail credits
|
|
1575
|
+
* - 'recruiter_lite': Use Recruiter Lite InMail credits
|
|
1576
|
+
* - 'recruiter_corporate': Use Recruiter Corporate InMail credits
|
|
1577
|
+
* - 'premium': Use Premium/Career InMail credits
|
|
1578
|
+
* - null/undefined: Auto-select subscription with available credits (default)
|
|
1579
|
+
*/
|
|
1580
|
+
inmailSubscription?: InmailSubscription | null;
|
|
1551
1581
|
}
|
|
1552
1582
|
/**
|
|
1553
1583
|
* Request to update a draft
|
|
@@ -1561,6 +1591,15 @@ interface UpdateDraftRequest {
|
|
|
1561
1591
|
* Valid values: 'connection_request' | 'direct_message' | 'inmail' | 'inmail_escalation'
|
|
1562
1592
|
*/
|
|
1563
1593
|
outreachMethod?: OutreachMethod | null;
|
|
1594
|
+
/**
|
|
1595
|
+
* Explicit InMail subscription to use for sending (LinkedIn InMail only).
|
|
1596
|
+
* - 'sales_navigator': Use Sales Navigator InMail credits
|
|
1597
|
+
* - 'recruiter_lite': Use Recruiter Lite InMail credits
|
|
1598
|
+
* - 'recruiter_corporate': Use Recruiter Corporate InMail credits
|
|
1599
|
+
* - 'premium': Use Premium/Career InMail credits
|
|
1600
|
+
* - null/undefined: Auto-select subscription with available credits (default)
|
|
1601
|
+
*/
|
|
1602
|
+
inmailSubscription?: InmailSubscription | null;
|
|
1564
1603
|
}
|
|
1565
1604
|
/**
|
|
1566
1605
|
* Prospect info for batch draft creation
|
|
@@ -1596,6 +1635,16 @@ interface ProspectInfo {
|
|
|
1596
1635
|
* @default 0
|
|
1597
1636
|
*/
|
|
1598
1637
|
priority?: number;
|
|
1638
|
+
/**
|
|
1639
|
+
* Explicit InMail subscription to use for this prospect (LinkedIn InMail only).
|
|
1640
|
+
* Overrides batch-level auto-selection when outreachMethod is 'inmail'.
|
|
1641
|
+
* - 'sales_navigator': Use Sales Navigator InMail credits
|
|
1642
|
+
* - 'recruiter_lite': Use Recruiter Lite InMail credits
|
|
1643
|
+
* - 'recruiter_corporate': Use Recruiter Corporate InMail credits
|
|
1644
|
+
* - 'premium': Use Premium/Career InMail credits
|
|
1645
|
+
* - null/undefined: Auto-select subscription with available credits (default)
|
|
1646
|
+
*/
|
|
1647
|
+
inmailSubscription?: InmailSubscription | null;
|
|
1599
1648
|
}
|
|
1600
1649
|
/**
|
|
1601
1650
|
* Request to create batch drafts
|
|
@@ -1635,6 +1684,15 @@ interface DraftSendOverride {
|
|
|
1635
1684
|
* Note: Only applies to LinkedIn drafts.
|
|
1636
1685
|
*/
|
|
1637
1686
|
outreachMethod?: OutreachMethod;
|
|
1687
|
+
/**
|
|
1688
|
+
* Override the InMail subscription for this draft (LinkedIn InMail only).
|
|
1689
|
+
* - 'sales_navigator': Use Sales Navigator InMail credits
|
|
1690
|
+
* - 'recruiter_lite': Use Recruiter Lite InMail credits
|
|
1691
|
+
* - 'recruiter_corporate': Use Recruiter Corporate InMail credits
|
|
1692
|
+
* - 'premium': Use Premium/Career InMail credits
|
|
1693
|
+
* - null: Clear any previous selection and auto-select
|
|
1694
|
+
*/
|
|
1695
|
+
inmailSubscription?: InmailSubscription | null;
|
|
1638
1696
|
}
|
|
1639
1697
|
/**
|
|
1640
1698
|
* Request to batch send drafts with optional rate limiting and queue priority.
|
|
@@ -1867,6 +1925,11 @@ interface DraftResponse {
|
|
|
1867
1925
|
scheduledFor?: string | null;
|
|
1868
1926
|
/** Error details if status is 'failed' */
|
|
1869
1927
|
errorMessage?: string | null;
|
|
1928
|
+
/**
|
|
1929
|
+
* InMail subscription selected for this draft (LinkedIn InMail only).
|
|
1930
|
+
* null means auto-selection will be used when sending.
|
|
1931
|
+
*/
|
|
1932
|
+
inmailSubscription?: InmailSubscription | null;
|
|
1870
1933
|
}
|
|
1871
1934
|
/**
|
|
1872
1935
|
* Response from batch draft creation (legacy synchronous mode)
|
|
@@ -3268,4 +3331,4 @@ declare class ProgressTracker {
|
|
|
3268
3331
|
*/
|
|
3269
3332
|
declare function verifyWebhookSignature(payload: string, signature: string, secret: string): boolean;
|
|
3270
3333
|
|
|
3271
|
-
export { ACTION_DELAYS, type AgentConfig, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, 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, BatchJobStatus, type BatchProspectIdentifier, type BatchSendRequest, type BatchSendResponse, type BillingStatus, type BulkDeleteRequest, type BulkDeleteResponse, type BulkUploadResponse, type CancelDraftResponse, type CancelResponseResponse, type ChannelContactHistory, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type DatabaseStatus, type DeleteApiKeyResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type Email, type EmailThreadSummary, type ErrorResponse, 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, IntegrationsResource, InternalServerError, LINKEDIN_LIMITS, type LinkedInAccountInfoResponse, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type ListProvidersResponse, 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 ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, OutreachMethod, type PaginationInfo, type PaginationParams, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PersonResult, type Plan, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProspectConnectionCheck, type ProspectInfo, type ProspectPriorContactResult, type ProspectSyncIdentifier, type ProspectSyncResult, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, RateLimitError, type RateLimitErrorOptions, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, 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, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type StoreApiKeyRequest, type SyncJobResponse, SyncJobStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, 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, ValidationError, type WebhookEvent, type WebhookPayload, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getInmailAllowance, getLimits, getMessageLimit, hasOpenProfileMessages, verifyWebhookSignature };
|
|
3334
|
+
export { ACTION_DELAYS, type AgentConfig, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, 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, BatchJobStatus, type BatchProspectIdentifier, type BatchSendRequest, type BatchSendResponse, type BillingStatus, type BulkDeleteRequest, type BulkDeleteResponse, type BulkUploadResponse, type CancelDraftResponse, type CancelResponseResponse, type ChannelContactHistory, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type DatabaseStatus, type DeleteApiKeyResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type Email, type EmailThreadSummary, type ErrorResponse, 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 LinkedInAccountInfoResponse, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type ListProvidersResponse, 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 ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, OutreachMethod, type PaginationInfo, type PaginationParams, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PersonResult, type Plan, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProspectConnectionCheck, type ProspectInfo, type ProspectPriorContactResult, type ProspectSyncIdentifier, type ProspectSyncResult, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, RateLimitError, type RateLimitErrorOptions, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, 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, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type StoreApiKeyRequest, type SyncJobResponse, SyncJobStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, 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, ValidationError, type WebhookEvent, type WebhookPayload, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getInmailAllowance, getLimits, getMessageLimit, hasOpenProfileMessages, verifyWebhookSignature };
|
package/dist/index.d.ts
CHANGED
|
@@ -663,6 +663,20 @@ interface SpecializedAgentParams {
|
|
|
663
663
|
* For people search agents: ["PDL", "CORESIGNAL", "CRUST_DATA"]
|
|
664
664
|
*/
|
|
665
665
|
dataSources?: string[];
|
|
666
|
+
/**
|
|
667
|
+
* Custom LinkedIn profile URLs to exclude from people search results.
|
|
668
|
+
* Used for CrustData post-processing (exclude_profiles) and also applied as a server-side post-filter.
|
|
669
|
+
*/
|
|
670
|
+
excludeProfiles?: string[];
|
|
671
|
+
/**
|
|
672
|
+
* If true, exclude people the user has previously contacted (best-effort via stored LinkedIn URLs).
|
|
673
|
+
* @default false
|
|
674
|
+
*/
|
|
675
|
+
excludePreviouslyContacted?: boolean;
|
|
676
|
+
/**
|
|
677
|
+
* Names to exclude from results (passed through to CrustData post-processing when supported).
|
|
678
|
+
*/
|
|
679
|
+
excludeNames?: string[];
|
|
666
680
|
/**
|
|
667
681
|
* Additional parameters for any specialized agent
|
|
668
682
|
* This allows flexibility for future agents without SDK updates
|
|
@@ -1436,6 +1450,11 @@ declare enum LinkedInSubscriptionType {
|
|
|
1436
1450
|
RECRUITER_LITE = "recruiter_lite",
|
|
1437
1451
|
RECRUITER_CORPORATE = "recruiter_corporate"
|
|
1438
1452
|
}
|
|
1453
|
+
/**
|
|
1454
|
+
* InMail subscription types for explicit subscription selection when sending InMails.
|
|
1455
|
+
* Use null or omit to auto-select based on available credits.
|
|
1456
|
+
*/
|
|
1457
|
+
type InmailSubscription = 'sales_navigator' | 'recruiter_lite' | 'recruiter_corporate' | 'premium';
|
|
1439
1458
|
/**
|
|
1440
1459
|
* LinkedIn network distance values
|
|
1441
1460
|
*/
|
|
@@ -1488,6 +1507,8 @@ interface LinkedInSendRequest {
|
|
|
1488
1507
|
prospectProviderId?: string | null;
|
|
1489
1508
|
prospectLinkedInUrl?: string | null;
|
|
1490
1509
|
prospectName: string;
|
|
1510
|
+
/** Optional subject line (used for LinkedIn InMail). */
|
|
1511
|
+
subject?: string | null;
|
|
1491
1512
|
content: string;
|
|
1492
1513
|
isPriority?: boolean;
|
|
1493
1514
|
enableEscalation?: boolean;
|
|
@@ -1548,6 +1569,15 @@ interface CreateDraftRequest {
|
|
|
1548
1569
|
isPriority?: boolean;
|
|
1549
1570
|
outreachMethod?: string | null;
|
|
1550
1571
|
organizationId?: string | null;
|
|
1572
|
+
/**
|
|
1573
|
+
* Explicit InMail subscription to use for sending (LinkedIn InMail only).
|
|
1574
|
+
* - 'sales_navigator': Use Sales Navigator InMail credits
|
|
1575
|
+
* - 'recruiter_lite': Use Recruiter Lite InMail credits
|
|
1576
|
+
* - 'recruiter_corporate': Use Recruiter Corporate InMail credits
|
|
1577
|
+
* - 'premium': Use Premium/Career InMail credits
|
|
1578
|
+
* - null/undefined: Auto-select subscription with available credits (default)
|
|
1579
|
+
*/
|
|
1580
|
+
inmailSubscription?: InmailSubscription | null;
|
|
1551
1581
|
}
|
|
1552
1582
|
/**
|
|
1553
1583
|
* Request to update a draft
|
|
@@ -1561,6 +1591,15 @@ interface UpdateDraftRequest {
|
|
|
1561
1591
|
* Valid values: 'connection_request' | 'direct_message' | 'inmail' | 'inmail_escalation'
|
|
1562
1592
|
*/
|
|
1563
1593
|
outreachMethod?: OutreachMethod | null;
|
|
1594
|
+
/**
|
|
1595
|
+
* Explicit InMail subscription to use for sending (LinkedIn InMail only).
|
|
1596
|
+
* - 'sales_navigator': Use Sales Navigator InMail credits
|
|
1597
|
+
* - 'recruiter_lite': Use Recruiter Lite InMail credits
|
|
1598
|
+
* - 'recruiter_corporate': Use Recruiter Corporate InMail credits
|
|
1599
|
+
* - 'premium': Use Premium/Career InMail credits
|
|
1600
|
+
* - null/undefined: Auto-select subscription with available credits (default)
|
|
1601
|
+
*/
|
|
1602
|
+
inmailSubscription?: InmailSubscription | null;
|
|
1564
1603
|
}
|
|
1565
1604
|
/**
|
|
1566
1605
|
* Prospect info for batch draft creation
|
|
@@ -1596,6 +1635,16 @@ interface ProspectInfo {
|
|
|
1596
1635
|
* @default 0
|
|
1597
1636
|
*/
|
|
1598
1637
|
priority?: number;
|
|
1638
|
+
/**
|
|
1639
|
+
* Explicit InMail subscription to use for this prospect (LinkedIn InMail only).
|
|
1640
|
+
* Overrides batch-level auto-selection when outreachMethod is 'inmail'.
|
|
1641
|
+
* - 'sales_navigator': Use Sales Navigator InMail credits
|
|
1642
|
+
* - 'recruiter_lite': Use Recruiter Lite InMail credits
|
|
1643
|
+
* - 'recruiter_corporate': Use Recruiter Corporate InMail credits
|
|
1644
|
+
* - 'premium': Use Premium/Career InMail credits
|
|
1645
|
+
* - null/undefined: Auto-select subscription with available credits (default)
|
|
1646
|
+
*/
|
|
1647
|
+
inmailSubscription?: InmailSubscription | null;
|
|
1599
1648
|
}
|
|
1600
1649
|
/**
|
|
1601
1650
|
* Request to create batch drafts
|
|
@@ -1635,6 +1684,15 @@ interface DraftSendOverride {
|
|
|
1635
1684
|
* Note: Only applies to LinkedIn drafts.
|
|
1636
1685
|
*/
|
|
1637
1686
|
outreachMethod?: OutreachMethod;
|
|
1687
|
+
/**
|
|
1688
|
+
* Override the InMail subscription for this draft (LinkedIn InMail only).
|
|
1689
|
+
* - 'sales_navigator': Use Sales Navigator InMail credits
|
|
1690
|
+
* - 'recruiter_lite': Use Recruiter Lite InMail credits
|
|
1691
|
+
* - 'recruiter_corporate': Use Recruiter Corporate InMail credits
|
|
1692
|
+
* - 'premium': Use Premium/Career InMail credits
|
|
1693
|
+
* - null: Clear any previous selection and auto-select
|
|
1694
|
+
*/
|
|
1695
|
+
inmailSubscription?: InmailSubscription | null;
|
|
1638
1696
|
}
|
|
1639
1697
|
/**
|
|
1640
1698
|
* Request to batch send drafts with optional rate limiting and queue priority.
|
|
@@ -1867,6 +1925,11 @@ interface DraftResponse {
|
|
|
1867
1925
|
scheduledFor?: string | null;
|
|
1868
1926
|
/** Error details if status is 'failed' */
|
|
1869
1927
|
errorMessage?: string | null;
|
|
1928
|
+
/**
|
|
1929
|
+
* InMail subscription selected for this draft (LinkedIn InMail only).
|
|
1930
|
+
* null means auto-selection will be used when sending.
|
|
1931
|
+
*/
|
|
1932
|
+
inmailSubscription?: InmailSubscription | null;
|
|
1870
1933
|
}
|
|
1871
1934
|
/**
|
|
1872
1935
|
* Response from batch draft creation (legacy synchronous mode)
|
|
@@ -3268,4 +3331,4 @@ declare class ProgressTracker {
|
|
|
3268
3331
|
*/
|
|
3269
3332
|
declare function verifyWebhookSignature(payload: string, signature: string, secret: string): boolean;
|
|
3270
3333
|
|
|
3271
|
-
export { ACTION_DELAYS, type AgentConfig, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, 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, BatchJobStatus, type BatchProspectIdentifier, type BatchSendRequest, type BatchSendResponse, type BillingStatus, type BulkDeleteRequest, type BulkDeleteResponse, type BulkUploadResponse, type CancelDraftResponse, type CancelResponseResponse, type ChannelContactHistory, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type DatabaseStatus, type DeleteApiKeyResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type Email, type EmailThreadSummary, type ErrorResponse, 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, IntegrationsResource, InternalServerError, LINKEDIN_LIMITS, type LinkedInAccountInfoResponse, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type ListProvidersResponse, 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 ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, OutreachMethod, type PaginationInfo, type PaginationParams, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PersonResult, type Plan, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProspectConnectionCheck, type ProspectInfo, type ProspectPriorContactResult, type ProspectSyncIdentifier, type ProspectSyncResult, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, RateLimitError, type RateLimitErrorOptions, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, 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, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type StoreApiKeyRequest, type SyncJobResponse, SyncJobStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, 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, ValidationError, type WebhookEvent, type WebhookPayload, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getInmailAllowance, getLimits, getMessageLimit, hasOpenProfileMessages, verifyWebhookSignature };
|
|
3334
|
+
export { ACTION_DELAYS, type AgentConfig, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, 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, BatchJobStatus, type BatchProspectIdentifier, type BatchSendRequest, type BatchSendResponse, type BillingStatus, type BulkDeleteRequest, type BulkDeleteResponse, type BulkUploadResponse, type CancelDraftResponse, type CancelResponseResponse, type ChannelContactHistory, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type DatabaseStatus, type DeleteApiKeyResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type Email, type EmailThreadSummary, type ErrorResponse, 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 LinkedInAccountInfoResponse, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type ListProvidersResponse, 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 ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, OutreachMethod, type PaginationInfo, type PaginationParams, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PersonResult, type Plan, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProspectConnectionCheck, type ProspectInfo, type ProspectPriorContactResult, type ProspectSyncIdentifier, type ProspectSyncResult, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, RateLimitError, type RateLimitErrorOptions, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, 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, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type StoreApiKeyRequest, type SyncJobResponse, SyncJobStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, 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, ValidationError, type WebhookEvent, type WebhookPayload, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getInmailAllowance, getLimits, getMessageLimit, hasOpenProfileMessages, verifyWebhookSignature };
|