@vreden/meta
Version:
Baileys is a lightweight JavaScript library for interacting with the WhatsApp Web API using WebSocket.
28 lines (24 loc) • 683 B
TypeScript
import type { proto } from '../../WAProto'
export type DayOfWeekBussines = 'sun' | 'mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat'
export type HoursDay = {
day: DayOfWeekBussines
mode: 'specific_hours'
openTimeInMinutes: string
closeTimeInMinutes: string
} | {
day: DayOfWeekBussines;
mode: 'open_24h' | 'appointment_only'
}
export type UpdateBussinesProfileProps = {
address?: string;
websites?: string[]
email?: string;
description?: string
hours?: {
timezone: string
days: HoursDay[]
}
}
export type QuickReplyAction = proto.SyncActionValue.IQuickReplyAction & {
timestamp?: string
}