* make sure modal always appears
* separate event form wrappers into two components
* platform hook to fetch event type by id
* testing useGetEventTypeById hook
* add useGetEventTypeById to monorepo exports
* use platform hook for event type by id
* create event type: use createEventType from trpc handler
* create event type: simplify handler input and create e2e test
* update event type + test
* delete end point
* check if owner owns event type
* fix: starting v2
* fixes
* remove unused enum
* fix TS issue for update input
* docs refresh
* docs
* docs
* simplify event types docs
* docs refactor
* fix: check if user already has event type with existing slug
* refactor update into a service
* fix tests
* remove unused import
* update create event link
* refactor: create event handler process passed locations
* move input out of folder
* reuse eventtype location for inputs
* docs: example POST event-type return
---------
Co-authored-by: Rajiv Sahal <sahalrajiv-extc@atharvacoe.ac.in>
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com>
* chore: rewrite api.cal.com/v2 to api v2
* fixup! chore: rewrite api.cal.com/v2 to api v2
* fixup! fixup! chore: rewrite api.cal.com/v2 to api v2
---------
Co-authored-by: Alex van Andel <me@alexvanandel.com>
* fix: embed env var EnvrionmentPlugin config
* fixup! fix: embed env var EnvrionmentPlugin config
* fixup! fixup! fix: embed env var EnvrionmentPlugin config
* fix: auto switch to VERCEL_URL if WEBAPP_URL is undefined
* init bookings endpoint
* abstracting functions
* e2e tests for bookings
* hooks for bookings endpoint
* bookings respository fixtures
* typings for booking input
* fixup
* abstract booking info code and use it as handler
* import handlers for bookings endpoint
* add cancel booking input
* add handleCancelBooking handler in platform libraries
* cancel booking endpoint
* abstract call into its own separate fn
* cancel booking hook
* e2e test for cancel booking endpoint
* fix import
* export getBookings function
* move getAllUserBookings into lib
* add bookings folder to package exports
* use getAllUserBookings from lib
* fix import path
* fix: hooks, endpoint and example for cancel / reschedule / list / booking success page
* fix: unit test mock classNames import from lib
* fix: unit test mock classNames import from lib
---------
Co-authored-by: Morgan Vernay <morgan@cal.com>
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com>