Triggered when the site's default policy changes. Then, Booking Policy Updated is also triggered both for the new and the previous default policy.
function onBookingPolicyDefaultBookingPolicySet(handler: function): void;
handler(event: BookingPolicyDefaultBookingPolicySetEnvelope): void | Promise<void>
import { bookingPolicies } from "@wix/bookings";
bookingPolicies.onBookingPolicyDefaultBookingPolicySet((event) => {
// handle your event here
});