cal.pub0.org/packages/features/bookings/lib
Carina Wollendorfer 84efda07e9
Team webhooks (#8917)
* allow event type specific webhooks for all event types

* first version of team webhooks

* add empty view

* design fixes when no teams + invalidate query on delete/update

* linke to new webhooks page with teamId in query

* make one button with dropdown instead of a button for every team

* add subtitle to dropdown

* add avatar fallback

* authorization when editing webhook

* fix event type webhooks

* fix authorization for delete handler

* code clean up

* fix disabled switch

* add migration

* fix subscriberUrlReservered function and fix authorization

* fix type error

* fix type error

* fix switch not updating

* make sure webhooks are triggered for the correct even types

* code clean up

* only show teams were user has write access

* make webhooks read-only for members

* fix comment

* fix type error

* fix webhook tests for team event types

* implement feedback

* code clean up from feedback

* code clean up (feedback)

* throw error if param missing in subscriberUrlReservered

* handle null/undefined values in getWebhooks itself

* better variable naming

* better check if webhook is readonly

* create assertPartOfTeamWithRequiredAccessLevel to remove duplicate code

---------

Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: alannnc <alannnc@gmail.com>
2023-05-23 01:15:29 +00:00
..
book-event-form New Booker Component (preparations for booker atom) (#6792) 2023-04-24 16:32:30 +02:00
create-booking.ts New Booker Component (preparations for booker atom) (#6792) 2023-04-24 16:32:30 +02:00
create-recurring-booking.ts New Booker Component (preparations for booker atom) (#6792) 2023-04-24 16:32:30 +02:00
get-booking.ts New Booker Component (preparations for booker atom) (#6792) 2023-04-24 16:32:30 +02:00
getBookingFields.ts add an enum generator, stop importing from @prisma/client (#8548) 2023-05-02 13:44:05 +02:00
getBookingResponsesSchema.ts Allow booking responses to have the data from variantsConfig (#8718) 2023-05-10 03:59:51 +00:00
getCalEventResponses.ts Fix/send responses everywhere customInputs were being sent. (#7898) 2023-04-04 10:29:09 +05:30
getLocationOptionsForSelect.ts fix: ui and ux improvements in booking questions (#7734) 2023-04-06 08:17:53 +00:00
handleCancelBooking.ts Team webhooks (#8917) 2023-05-23 01:15:29 +00:00
handleConfirmation.ts Team webhooks (#8917) 2023-05-23 01:15:29 +00:00
handleNewBooking.ts Team webhooks (#8917) 2023-05-23 01:15:29 +00:00
index.ts New Booker Component (preparations for booker atom) (#6792) 2023-04-24 16:32:30 +02:00
timePreferences.ts New Booker Component (preparations for booker atom) (#6792) 2023-04-24 16:32:30 +02:00
useFilterQuery.tsx Feature/booking filters (#6099) 2022-12-22 12:35:01 +00:00