import { Modalidade } from "./pagamento"; import { TokenSet } from "./session/tokenset"; import { Empresa } from "./empresa"; import { DHContext } from '../utils/context'; export interface Turno { nome: string; hora_abertura: string; hora_fechamento: string; } declare type HorarioFuncionamento = { hora_abertura: string; hora_fechamento: string; }; export interface Funcionamento { dia: 'Dom' | 'Seg' | 'Ter' | 'Qua' | 'Qui' | 'Sex' | 'Sab'; hora_abertura: string; hora_fechamento: string; turnos: Array; funcionando: boolean; horarios_funcionamento: Array; } export interface Loja extends Empresa { context: DHContext; token: TokenSet; funcionamento: Array; segundo_turno: Array; aberta: boolean; abertura_automatica: boolean; habilitar_promocoes: boolean; destaques: boolean; open_observacoes_default?: boolean; promocoes_url: Array; modalidade: Array; alias: Array; customizacoes: Array; empresa_selecionada: string; bar_color?: any; background_image?: string; } export {};