t { graphfi } from &quot;@pnp/graph&quot;;
import &quot;@pnp/graph/bookings&quot;;
import { BookingCustomQuestion } from &quot;@microsoft/microsoft-graph-types&quot;;

const graph = graphfi(...);

const business = graph.bookingBusinesses.getById({Booking Business Id})();
// get the business custom questions
const customQuestions = await business.customQuestions();
// add a custom question
const newCustomQuestionDesc: BookingCustomQuestion = {booking custom question details -- see Microsoft Graph documentati