import { type ListFrontEndInterface } from './CommonType'

export interface DepartmentListInterface {
    contactdepartmentList: ListFrontEndInterface[]
    contactdepartmentDropDownList: bulkmailFormDataInterface[]
    contactdepartmentDropDownListCount: number
}
export interface DepartmentFormDataInterface {
    clientCategoryName: string
    clientCategoryId: number

    activeStatus: string
}

export interface BulkmailFormStateInterface {
    categoryDropDownList: ListFrontEndInterface[]
    contactdepartmentDropDownList: bulkmailFormDataInterface[]
    contactdepartmentDropDownListCount: number
}

export interface BulkmailListDataTypeInterface
    extends bulkmailFormDataInterface {
    key: React.Key
}
export interface bulkmailFormDataInterface {
    key: React.Key
    contactName: string
    emailAddress: string
    businessTypeId: string
    contactNumber: string
    referenceId: string
    serviceId: string
}

export interface BulkEmailPayloadInterface {
    data: bulkmailFormDataInterface[]
    noOfRecords: number
}
export interface bulkmailListInterface {
    contactdepartmentDropDownList: BulkmailListDataTypeInterface[]
    contactdepartmentDropDownListCount: number
}
export interface savebulksms {
    clientSMSId: 0
    serviceProcessId: 0
    description: string
    smsStatus: string
    contactNumber: string | string[]
}
