To use the ResourceTypes API, install the @wix/bookings package using npm or Yarn:
@wix/bookings
or
Then import { resourceTypes } from @wix/bookings:
{ resourceTypes }