export interface ICashDrawer { readonly id: string; readonly nickname: string; readonly drawer_number?: number; readonly active: boolean; } export interface ICashDrawerShift { readonly id?: string; readonly cash_drawer_id: string; readonly opened_details: ICashDrawerShiftDetails; readonly closed_details?: ICashDrawerShiftDetails; readonly is_open: boolean; } interface ICashDrawerShiftDetails { readonly date: Date; readonly by_user: string; } export interface ICashDrawerInteraction { readonly id?: string; readonly date: Date; readonly action: CashDrawerActionEnum; readonly user: string; readonly amount: number; readonly cash_drawer_id: string; readonly shift_id: string; readonly reason?: string; } export declare enum CashDrawerActionEnum { OPEN_SHIFT = "start_shift", ORDER_CASH_IN = "order_cash_in", ORDER_CASH_OUT = "order_cash_out", MANUAL_CASH_IN = "manual_cash_in", MANUAL_CASH_OUT = "manual_cash_out", END_SHIFT = "end_shift" } export type CashDrawerOnlyUpdateActions = Extract; export declare const getDefaultCashDrawer: () => ICashDrawer; export {};