export interface CustomFieldListParams { search?: string; page?: string; limit?: string; sortOrder?: number; sortBy?: string; isActive?: boolean[]; dataType?: string[]; isRequired?: boolean[]; type?: string[]; itemNameId?: string; } export interface CustomFieldOptionsParams { type?: string[]; dataTypeOptions?: boolean; } export interface CreateCustomFieldBody { name: string; type: 'Global' | 'Specific'; dataType: string; optionValue?: string[]; isRequired: boolean; showOnTable: boolean; itemName: string[]; } export interface EditCustomFieldBody { name: string; dataType: string; optionValue?: string[]; isRequired: boolean; showOnTable: boolean; itemName: string[]; } export interface SetCustomFieldActiveStatusBody { customFieldIds: string[]; isActive: boolean; hideEnteredData?: boolean; } export interface DeleteCustomFieldBody { customFieldIds: string[]; } export interface CheckCustomFieldExistsParams { name: string; type: string; }