import { ObjectId } from 'mongodb'; import { BaseModel } from './baseModel'; import { Customer } from './customer'; import { Location } from './location'; import { OperationCenter } from './operationCenter'; import { VendorService } from './vendorService'; export interface Vendor extends BaseModel { status: boolean; name: string; code: string; operationCenters?: OperationCenter[] | ObjectId[]; services?: VendorService[] | ObjectId[]; mobile?: string; email?: string; addressLine1?: string; addressLine2?: string; city?: string; state?: string; country?: string; pincode?: string; location?: Location; panNumber?: string; gstNumber?: string; aadharNumber?: string; bankName?: string; accountNumber?: string; ifscCode?: string; paymentSLA?: number; selfCustomer?: Customer | ObjectId; disableQuickbooks?: boolean; linkedMidguardAccount?: string; }