Skip to content

Commit 03ebabd

Browse files
authored
fix: transcript endpoint (#25136)
1 parent 0ab1bd0 commit 03ebabd

File tree

3 files changed

+29
-31
lines changed

3 files changed

+29
-31
lines changed

apps/api/v2/src/ee/bookings/2024-08-13/controllers/bookings.controller.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export class BookingsController_2024_08_13 {
189189
2. uid of one of the recurring booking recurrences
190190
191191
3. uid of recurring booking which will return an array of all recurring booking recurrences (stored as recurringBookingUid on one of the individual recurrences).
192-
192+
193193
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
194194
you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.
195195
@@ -213,7 +213,7 @@ export class BookingsController_2024_08_13 {
213213
@ApiOperation({
214214
summary: "Get all the recordings for the booking",
215215
description: `Fetches all the recordings for the booking \`:bookingUid\`
216-
216+
217217
<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
218218
`,
219219
})
@@ -229,9 +229,9 @@ export class BookingsController_2024_08_13 {
229229
@Get("/:bookingUid/transcripts")
230230
@UseGuards(BookingUidGuard)
231231
@ApiOperation({
232-
summary: "Get all the transcripts download links for the booking",
232+
summary: "Get Cal Video real time transcript download links for the booking",
233233
description: `Fetches all the transcripts download links for the booking \`:bookingUid\`
234-
234+
235235
<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
236236
`,
237237
})
@@ -279,7 +279,7 @@ export class BookingsController_2024_08_13 {
279279
@ApiOperation({
280280
summary: "Reschedule a booking",
281281
description: `Reschedule a booking or seated booking
282-
282+
283283
<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
284284
`,
285285
})
@@ -321,19 +321,19 @@ export class BookingsController_2024_08_13 {
321321
@ApiOperation({
322322
summary: "Cancel a booking",
323323
description: `:bookingUid can be :bookingUid of an usual booking, individual recurrence or recurring booking to cancel all recurrences.
324-
324+
325325
\nCancelling normal bookings:
326326
If the booking is not seated and not recurring, simply pass :bookingUid in the request URL \`/bookings/:bookingUid/cancel\` and optionally cancellationReason in the request body \`{"cancellationReason": "Will travel"}\`.
327327
328328
\nCancelling seated bookings:
329329
It is possible to cancel specific seat within a booking as an attendee or all of the seats as the host.
330330
\n1. As an attendee - provide :bookingUid in the request URL \`/bookings/:bookingUid/cancel\` and seatUid in the request body \`{"seatUid": "123-123-123"}\` . This will remove this particular attendance from the booking.
331331
\n2. As the host or org admin of host - host can cancel booking for all attendees aka for every seat, this also applies to org admins. Provide :bookingUid in the request URL \`/bookings/:bookingUid/cancel\` and cancellationReason in the request body \`{"cancellationReason": "Will travel"}\` and \`Authorization: Bearer token\` request header where token is event type owner (host) credential. This will cancel the booking for all attendees.
332-
332+
333333
\nCancelling recurring seated bookings:
334334
For recurring seated bookings it is not possible to cancel all of them with 1 call
335335
like with non-seated recurring bookings by providing recurring bookind uid - you have to cancel each recurrence booking by its bookingUid + seatUid.
336-
336+
337337
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
338338
you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.
339339
@@ -374,7 +374,7 @@ export class BookingsController_2024_08_13 {
374374
@ApiOperation({
375375
summary: "Mark a booking absence",
376376
description: `The provided authorization header refers to the owner of the booking.
377-
377+
378378
<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
379379
`,
380380
})
@@ -399,7 +399,7 @@ export class BookingsController_2024_08_13 {
399399
@ApiOperation({
400400
summary: "Reassign a booking to auto-selected host",
401401
description: `Currently only supports reassigning host for round robin bookings. The provided authorization header refers to the owner of the booking.
402-
402+
403403
<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
404404
`,
405405
})
@@ -423,7 +423,7 @@ export class BookingsController_2024_08_13 {
423423
@ApiOperation({
424424
summary: "Reassign a booking to a specific host",
425425
description: `Currently only supports reassigning host for round robin bookings. The provided authorization header refers to the owner of the booking.
426-
426+
427427
<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
428428
`,
429429
})
@@ -454,7 +454,7 @@ export class BookingsController_2024_08_13 {
454454
@ApiOperation({
455455
summary: "Confirm a booking",
456456
description: `The provided authorization header refers to the owner of the booking.
457-
457+
458458
<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
459459
`,
460460
})
@@ -478,8 +478,8 @@ export class BookingsController_2024_08_13 {
478478
@ApiOperation({
479479
summary: "Decline a booking",
480480
description: `The provided authorization header refers to the owner of the booking.
481-
482-
<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
481+
482+
<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
483483
`,
484484
})
485485
async declineBooking(
@@ -502,8 +502,8 @@ export class BookingsController_2024_08_13 {
502502
@ApiOperation({
503503
summary: "Get 'Add to Calendar' links for a booking",
504504
description: `Retrieve calendar links for a booking that can be used to add the event to various calendar services. Returns links for Google Calendar, Microsoft Office, Microsoft Outlook, and a downloadable ICS file.
505-
506-
<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
505+
506+
<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
507507
`,
508508
})
509509
@HttpCode(HttpStatus.OK)

0 commit comments

Comments
 (0)