export interface SupplierDetailsListDataTypeInterface
    extends SupplierFormDataInterface {
    key: React.Key
}

export interface SupplierDetailsListInterface {
    supplierDetailsList: SupplierDetailsListDataTypeInterface[]
    supplierDetailsListCount: number
}

export interface SupplierFormDataInterface {
    supplierId: string
    supplierName: string
    imgPath: string
}

export interface SupplierFormInterface {
    onSave: (
        data: SupplierFormDataInterface,
        callBack: CallableFunction
    ) => void
    editData: SupplierFormDataInterface
    isLoadingModal: boolean
}

export interface SupplierDetailsPayloadInteface {
    data: SupplierFormDataInterface[]
    noOfRecords: number
}

export interface SupplierDetailsFormData {
    supplierId: number
    supplierName: string
    clientCompanySupplierId: number
    companyType: number
    referenceId: number
    userName: string
    password: string
    consumerNo: string
    url: string
    status: string
}

export interface SupplierInfoInterFace {
    corporateId: number
    supplierInfoList?: any
}

export interface SupplierInfoInterFaceSoleTrader {
    soleTraderId: number
    supplierInfoList?: any
}
