To use the StaffMembers API, install the @wix/bookings package using npm or Yarn:
@wix/bookings
npm install @wix/bookings
or
yarn add @wix/bookings
Then import { staffMembers } from @wix/bookings:
{ staffMembers }
import { staffMembers } from "@wix/bookings";