import type { FdoBusiness, FdoRestaurant } from '@feedmepos/core/entity'; import type { F_DEVICE_TYPE, FdoDevice, FdtoSubDevice } from '@feedmepos/mdm-package'; export type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'destructive' | 'plain' | 'fab'; export declare enum DayOfWeek { MONDAY = "MONDAY", TUESDAY = "TUESDAY", WEDNESDAY = "WEDNESDAY", THURSDAY = "THURSDAY", FRIDAY = "FRIDAY", SATURDAY = "SATURDAY", SUNDAY = "SUNDAY" } /** Matches FdoDisplayScheduleSetting from @feedmepos/core */ export interface DisplaySchedule { enabled: boolean; startDate?: string | null; endDate?: string | null; startTime?: string | null; endTime?: string | null; repeatDays?: DayOfWeek[] | null; } /** Matches FdoBusinessCustomerDisplayImage from @feedmepos/core */ export interface CustomerDisplayImage { url: string; restaurantIds: string[]; schedule?: DisplaySchedule | null; } export interface UpdateCustomerDisplayImagesDto { images: CustomerDisplayImage[]; publishRestaurants?: string[]; } export interface Business extends FdoBusiness { id: string; customerDisplayImages: CustomerDisplayImage[]; } export interface Restaurant extends FdoRestaurant { id: string; managable: boolean; } export type ImagesInfo = { [url: string]: { restaurantIds: string[]; deleted: boolean; schedule?: DisplaySchedule; }; }; type DeviceTypeWithUnassigned = F_DEVICE_TYPE | 'UNASSIGNED'; export interface Device extends Omit { type?: DeviceTypeWithUnassigned; restaurantName?: string; } export interface CreateSubDeviceDto extends FdtoSubDevice { restaurantId: string; } type POS_PLANS = 'Standard' | 'Premium'; type CRM_PLANS = 'Standard' | 'Premium'; interface FdoFeatureGroup { POS?: POS_PLANS | null; CRM?: CRM_PLANS | null; Foodpanda?: boolean | null; } export interface FdoRestaurantFeature { _id: string; expiredAt?: string | null; currentFeatures: FdoFeatureGroup; nextExpiredAt?: string | null; nextFeatures?: FdoFeatureGroup | null; } export interface CheckboxOptions { label: string; value: string; } export declare enum FeatureFlagKey { licensePosCreateSubPos = "license_pos_create_subpos" } export {};