hfi(...);

// Get all the businesses
const businesses = await graph.bookingBusinesses();
// get the details of the first business
const business = graph.bookingBusinesses.getById(businesses[0].id)();
const businessDetails = await business();
// get the business calendar
const calView = await business.calendarView(&quot;2022-06-01&quot;, &quot;2022-08-01&quot;)();
// publish the business
await business.publish();
// unpublish the business
await business.unpublish();
</code></pre>
<h2 id="work-with-booking-se