import type * as Square from "../index"; /** * The service appointment settings, including where and how the service is provided. */ export interface BusinessAppointmentSettings { /** * Types of the location allowed for bookings. * See [BusinessAppointmentSettingsBookingLocationType](#type-businessappointmentsettingsbookinglocationtype) for possible values */ locationTypes?: Square.BusinessAppointmentSettingsBookingLocationType[] | null; /** * The time unit of the service duration for bookings. * See [BusinessAppointmentSettingsAlignmentTime](#type-businessappointmentsettingsalignmenttime) for possible values */ alignmentTime?: Square.BusinessAppointmentSettingsAlignmentTime; /** The minimum lead time in seconds before a service can be booked. A booking must be created at least this amount of time before its starting time. */ minBookingLeadTimeSeconds?: number | null; /** The maximum lead time in seconds before a service can be booked. A booking must be created at most this amount of time before its starting time. */ maxBookingLeadTimeSeconds?: number | null; /** * Indicates whether a customer can choose from all available time slots and have a staff member assigned * automatically (`true`) or not (`false`). */ anyTeamMemberBookingEnabled?: boolean | null; /** Indicates whether a customer can book multiple services in a single online booking. */ multipleServiceBookingEnabled?: boolean | null; /** * Indicates whether the daily appointment limit applies to team members or to * business locations. * See [BusinessAppointmentSettingsMaxAppointmentsPerDayLimitType](#type-businessappointmentsettingsmaxappointmentsperdaylimittype) for possible values */ maxAppointmentsPerDayLimitType?: Square.BusinessAppointmentSettingsMaxAppointmentsPerDayLimitType; /** The maximum number of daily appointments per team member or per location. */ maxAppointmentsPerDayLimit?: number | null; /** The cut-off time in seconds for allowing clients to cancel or reschedule an appointment. */ cancellationWindowSeconds?: number | null; /** The flat-fee amount charged for a no-show booking. */ cancellationFeeMoney?: Square.Money; /** * The cancellation policy adopted by the seller. * See [BusinessAppointmentSettingsCancellationPolicy](#type-businessappointmentsettingscancellationpolicy) for possible values */ cancellationPolicy?: Square.BusinessAppointmentSettingsCancellationPolicy; /** The free-form text of the seller's cancellation policy. */ cancellationPolicyText?: string | null; /** Indicates whether customers has an assigned staff member (`true`) or can select s staff member of their choice (`false`). */ skipBookingFlowStaffSelection?: boolean | null; }