import type * as ElevenLabs from "../index"; /** * Represents a bookable service (e.g., haircut, massage, consultation). */ export interface ReceptionService { /** 'fixed' (default): the item has a known price the agent can quote, and customers can book or order it directly. 'quote': the price depends on the job (renovation, catering, custom work), so no price or slot is offered; the agent collects the intake_questions and files a quote request instead. Takes effect only while quotes are enabled for the business. Group services cannot use 'quote'. */ pricingMode?: ElevenLabs.PricingMode; /** Questions the agent asks before booking or ordering this item. Required for a useful `pricing_mode='quote'` item -- without them a quote request arrives with nothing to price -- but also valid on fixed-price items that need extra detail (current hair color before a dye job, allergies before a treatment). */ intakeQuestions?: ElevenLabs.ReceptionIntakeQuestion[]; /** Group memberships for this item. Each entry carries the group label and the item's 0-based rank within that group. */ groups?: ElevenLabs.ReceptionGroupMembership[]; /** Display position among items with no group; `null` sorts last. Change it with the reorder endpoint. */ ungroupedRank?: number; /** Service name shown to customers and the receptionist. */ name: ElevenLabs.StrippedStr; /** Details about the service for customers and the receptionist; empty string means none. */ description?: ElevenLabs.StrippedStr; /** Bookable options for this service; `variants[0]` is the default. */ variants: ElevenLabs.ReceptionServiceVariant[]; /** Classic = staff-delivered; rental = asset-based; group = multi-participant session. */ kind?: ElevenLabs.ReceptionServiceKind; /** Turnover/cleanup time reserved after each booking. Applies to every service kind; default 0 means no buffer. */ bufferMinutes?: number; /** Where the service is delivered. `business` = client visits the business location (default); `customer` = staff travels to the client. Only meaningful for `kind='classic'`. */ serviceLocation?: ElevenLabs.ServiceLocationType; /** Optional extras that can be added to a booking of this service. */ addOns?: ElevenLabs.ReceptionAddOn[]; /** Capacity for `kind='group'`: how many seats a single session can sell across all registrations. Must be null for classic and rental services (those are always exclusive to one client per booking). */ maxParticipants?: number; /** Not used to limit bookings; set `max_participants` on group services instead. */ capacity?: number; /** Whether the service is offered; inactive services can't be booked. */ isActive?: boolean; /** Whether any staff member can deliver the service. When false, only the staff in `staff_ids` can. Ignored for rentals. */ anyStaffMember?: boolean; /** Staff assigned to this service; must be empty for kind='rental'. */ staffIds?: string[]; /** Assets, such as rooms or equipment, this service can be booked on. */ assetIds?: string[]; /** How far into the future customer-facing channels (public booking page, voice agent) may book this service. Applies to every kind. */ advanceBookingMinutes?: number; /** Locations where this service is offered; empty list means all locations. */ locationIds?: string[]; /** Whether the service is listed on the public booking page. */ displayOnBookingPage?: boolean; /** Travel time in minutes added before/after appointments for customer-location services. Blocks the staff member's calendar but is not visible to the customer. Ignored when `service_location='business'`. */ travelMinutes?: number; /** Add travel time before the appointment (outbound trip). */ travelBefore?: boolean; /** Add travel time after the appointment (return trip). */ travelAfter?: boolean; /** Time-bound discounts applicable to this service or specific variants. */ promotions?: ElevenLabs.ReceptionServicePromotion[]; /** The service's ID. */ id: string; /** When this was created, as a Unix timestamp in seconds. */ createdAtUnix?: ElevenLabs.UnixTimestamp; /** When this was last updated, as a Unix timestamp in seconds. */ updatedAtUnix?: ElevenLabs.UnixTimestamp; /** Duration of the first variant. */ durationMinutes?: number; /** Price of the first variant. */ price?: number; }