import type { ILivechatBusinessHour } from '@rocket.chat/core-typings'; import { businessHourManager } from '../../../../lib/omnichannel/business-hour'; export async function findLivechatBusinessHour(id?: string, type?: string): Promise> { return { businessHour: (await businessHourManager.getBusinessHour(id, type)) as ILivechatBusinessHour, }; }