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