You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: v2 show hidden attendees for authenticated requests (calcom#23868)
* refactor: return attendees when fetching all bookings
* refactor: v2 show hidden attendees for authenticated requests
* chore: regenerate docs
* chore: add test
@@ -122,6 +130,9 @@ export class BookingsController_2024_08_13 {
122
130
And 2 ways to book and event type belonging to a team:
123
131
1. Provide \`eventTypeId\` in the request body.
124
132
2. Provide \`eventTypeSlug\` and \`teamSlug\` and optionally \`organizationSlug\` if the team with the teamSlug is within an organization.
133
+
134
+
If you are creating a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
135
+
you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.
125
136
`,
126
137
})
127
138
@ApiBody({
@@ -161,7 +172,10 @@ export class BookingsController_2024_08_13 {
@@ -170,10 +184,17 @@ export class BookingsController_2024_08_13 {
170
184
171
185
2. uid of one of the recurring booking recurrences
172
186
173
-
3. uid of recurring booking which will return an array of all recurring booking recurrences (stored as recurringBookingUid on one of the individual recurrences).`,
187
+
3. uid of recurring booking which will return an array of all recurring booking recurrences (stored as recurringBookingUid on one of the individual recurrences).
188
+
189
+
If you are fetching a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
190
+
you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.
"Accepts different types of reschedule booking input: Reschedule Booking (Option 1) or Reschedule Seated Booking (Option 2)",
275
+
description: `Accepts different types of reschedule booking input: Reschedule Booking (Option 1) or Reschedule Seated Booking (Option 2).
276
+
277
+
If you are rescheduling a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
278
+
you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.`,
@@ -281,7 +311,11 @@ export class BookingsController_2024_08_13 {
281
311
282
312
\nCancelling recurring seated bookings:
283
313
For recurring seated bookings it is not possible to cancel all of them with 1 call
284
-
like with non-seated recurring bookings by providing recurring bookind uid - you have to cancel each recurrence booking by its bookingUid + seatUid.`,
314
+
like with non-seated recurring bookings by providing recurring bookind uid - you have to cancel each recurrence booking by its bookingUid + seatUid.
315
+
316
+
If you are cancelling a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
317
+
you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.
318
+
`,
285
319
})
286
320
@ApiBody({
287
321
schema: {
@@ -298,9 +332,10 @@ export class BookingsController_2024_08_13 {
0 commit comments