export interface HubSpotDeal { id: string; properties: { dealname?: string; amount?: string; dealstage?: string; closedate?: string; createdate?: string; hs_lastmodifieddate?: string; pipeline?: string; hubspot_owner_id?: string; hubspot_owner_assigneddate?: string; [key: string]: any; }; createdAt: string; updatedAt: string; archived: boolean; } export interface HubSpotCompany { id: string; properties: { name?: string; domain?: string; industry?: string; city?: string; state?: string; country?: string; createdate?: string; hs_lastmodifieddate?: string; hubspot_owner_id?: string; [key: string]: any; }; createdAt: string; updatedAt: string; archived: boolean; } export interface HubSpotContact { id: string; properties: { firstname?: string; lastname?: string; email?: string; phone?: string; company?: string; jobtitle?: string; createdate?: string; hs_lastmodifieddate?: string; hubspot_owner_id?: string; [key: string]: any; }; createdAt: string; updatedAt: string; archived: boolean; } export interface HubSpotEmailCampaign { id: string; name: string; type: string; status: string; created_at: string; updated_at: string; properties: { [key: string]: any; }; } export interface HubSpotCampaignMetrics { campaign_id: string; campaign_name: string; month: string; year: number; open_rate: number; click_rate: number; bounce_rate: number; unsubscribe_rate: number; total_sent: number; total_opens: number; total_clicks: number; } export interface HubSpotSearchResult { results: T[]; paging?: { next?: { after: string; link: string; }; }; total?: number; } export interface HubSpotCredentials { access_token: string; refresh_token?: string; expires_in?: number; token_type: string; scope?: string; } export interface HubSpotOwner { id: string; email: string; firstName: string; lastName: string; userId: number; createdAt: string; updatedAt: string; archived: boolean; } export interface HubSpotDealStage { id: string; label: string; displayOrder: number; isClosed: boolean; isWon: boolean; probability: string; pipelineId: string; createdAt: string; updatedAt: string; archived: boolean; } export interface HubSpotPipeline { id: string; label: string; displayOrder: number; stages: HubSpotDealStage[]; createdAt: string; updatedAt: string; archived: boolean; } export interface DealWithContacts { deal: { id: string; name: string; amount: string; stage: string; closeDate?: string; createDate?: string; pipeline?: string; }; aotContacts: Array<{ type: string; id: string; firstName: string; lastName: string; email: string; role: string; }>; companyId?: string; error?: string; } export interface SearchDealsAdvancedOptions { stageNames?: string[]; ownerIds?: string[]; dateField?: string; dateStr?: string; additionalFilters?: any; properties?: string[]; limit?: number; after?: string; } //# sourceMappingURL=index.d.ts.map