import type * as Square from "../index"; /** * A seller's business booking profile, including booking policy, appointment settings, etc. */ export interface BusinessBookingProfile { /** The ID of the seller, obtainable using the Merchants API. */ sellerId?: string | null; /** The RFC 3339 timestamp specifying the booking's creation time. */ createdAt?: string; /** Indicates whether the seller is open for booking. */ bookingEnabled?: boolean | null; /** * The choice of customer's time zone information of a booking. * The Square online booking site and all notifications to customers uses either the seller location’s time zone * or the time zone the customer chooses at booking. * See [BusinessBookingProfileCustomerTimezoneChoice](#type-businessbookingprofilecustomertimezonechoice) for possible values */ customerTimezoneChoice?: Square.BusinessBookingProfileCustomerTimezoneChoice; /** * The policy for the seller to automatically accept booking requests (`ACCEPT_ALL`) or not (`REQUIRES_ACCEPTANCE`). * See [BusinessBookingProfileBookingPolicy](#type-businessbookingprofilebookingpolicy) for possible values */ bookingPolicy?: Square.BusinessBookingProfileBookingPolicy; /** Indicates whether customers can cancel or reschedule their own bookings (`true`) or not (`false`). */ allowUserCancel?: boolean | null; /** Settings for appointment-type bookings. */ businessAppointmentSettings?: Square.BusinessAppointmentSettings; /** Indicates whether the seller's subscription to Square Appointments supports creating, updating or canceling an appointment through the API (`true`) or not (`false`) using seller permission. */ supportSellerLevelWrites?: boolean | null; }