tidyCal.createBookingType creates a booking type for the connected account.
automations/create-tidycal-booking-type.automation.ts
title, description, durationMinutes, and urlSlug. paddingMinutes defaults to 0, latestAvailabilityDays to 60, private to false, maxBookings to 1, maxGuestInvitesPerBooker to 0, displaySeatsRemaining to false, bookingAvailabilityIntervalMinutes to 15, bookingThreshold to 120, and price to 0.
For a paid type, provide paymentPlatform (stripe, paypal, or tidycal) and optionally an ISO 4217 currencyCode. The payment platform must already be connected in TidyCal. The result is the created booking type. disabledAt is present when TidyCal includes its disabled state.