export type TabType = 'semua' | 'sedang-berjalan' | 'closed win' | 'closed lost' | 'admin' | 'selesai'; export type PipelineStatus = 'initial interest' | 'renewal' | 'pipeline' | 'commit pipeline' | 'menunggu form penagihan' | 'approval form penagihan' | 'form penagihan ditolak' | 'menunggu end form data' | 'menunggu end user data form' | 'siap close win' | 'siap closed win' | 'closed win' | 'closed lost'; export type PurchaseType = 'New' | 'Renewal' | 'Upselling' | 'Cross-selling' | 'New Additional'; export type NextAction = 'Presentasi' | 'Penawaran Harga' | 'POC' | 'Negosiasi'; export type Customer = { _id: string; name: string; industry: string; contactCount: number; pipelineCount: number; productExistingCount: number; pcib: number; assetAmount: number; phone: string; website: string; accountManagerPartner?: string; accountManagerDistributor?: string; }; export interface Pipeline { _id: string; accountManager: string; name: string; partner: string; estimatedClose: string; status: PipelineStatus; products: Product[]; updatedAt: string; } export type Product = { _id: string; product: string; sku: string; purchaseType: string; quantity: number; distributor: Person; timeUnit?: 'Bulan' | 'Tahun'; duration?: string; price: number; processed?: 'Sudah' | 'Belum'; received?: 'Sudah' | 'Belum'; doProduct?: 'Sudah' | 'Belum' | 'Dalam Proses'; }; export type Person = { _id: string; name: string; type?: string; contactIds?: string[]; };