import { type ListFrontEndInterface } from '../../CommonType'
import { type createCategoryParentInterface } from '../../CreateCategory'

export interface RegisterClientInterface {
    parentCategoryList: ListFrontEndInterface[]
    categoryDropDownList: ListFrontEndInterface[]
    serviceDropDownList: ListFrontEndInterface[]
    regiterClientDetails: ListFrontEndInterface[]
}
export interface clientcatergorynewlistStateInterface {
    creatnewclientList: clientnewListDataTypeInterface[]
    creatnewclientListCount: number
    siderClientID: number
    clientParentCategoryDropDown: createCategoryParentInterface[]
}
export interface clientnewListDataTypeInterface extends cetetewclient {
    key: React.Key
}
export interface cetetewclient {
    clientDynId: string
    clientCategoryname: string
    clientCategoryId: number
    clientNo: string
    title: string
    firstName: string
    middleName: string
    surName: string
    emailAddress: string
    mobileNo: string
    idDocument: string
    companyName: string
    companyRegistrationNo: string
    addressOne: string
    addressTwo: string
    town: string
    postCode: string
    country: string
    referredBy: string
    remarks: string
    clientDynCategoryId: number
    isActive: string
}
export interface newclientPayloadInteface {
    data: cetetewclient[]
    noOfRecords: number
}
export interface newFormStateInterface {
    categoryDropDownList: ListFrontEndInterface[]
    countryList: ListFrontEndInterface[]
}

export interface newFormInterface extends newFormStateInterface {
    onSave: (data: cetetewclient, callBack: CallableFunction) => void
    editData: cetetewclient
}
