Triggered when a booking policy is created.
function onBookingPolicyCreated(handler: function): void;
handler(event: BookingPolicyCreatedEnvelope): void | Promise<void>
import { bookingPolicies } from "@wix/bookings";
bookingPolicies.onBookingPolicyCreated((event) => {
// handle your event here
});