feat: authentication secured event types (#23217)
* feat: EventType bookingRequiresAuthentication column * feat: toggle EventType bookingRequiresAuthentication via api * feat: check bookingRequiresAuthentication when booking * docs: v2 swagger * fix: ts error * refactor: use Forbidden exception instead of Unauthorized * refactor: use findFirst instead of unique * fix: only count accepted memberships * fix: orgs schedules docs * regenerate docs * chore: update platform libraries * fix: unit test * fix: e2e test
This commit is contained in:
1 parent
aea6e105e6
commit
e0dc2ba03a
25 files changed
+810
-17
No files matched your search
@@ -147,6 +147,7 @@ const commons = {
|
||||
instantMeetingParameters: [],
|
||||
eventTypeColor: null,
|
||||
hostGroups: [],
|
||||
bookingRequiresAuthentication: false,
|
||||
};
|
||||
|
||||
export const dynamicEvent = {
|
||||
|
||||
@@ -160,6 +160,7 @@ export const buildEventType = (eventType?: Partial<EventType>): EventType => {
|
||||
customReplyToEmail: null,
|
||||
restrictionScheduleId: null,
|
||||
useBookerTimezone: false,
|
||||
bookingRequiresAuthentication: false,
|
||||
...eventType,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user