From 57b404f721c196b2ff40116635b61ba056fd1016 Mon Sep 17 00:00:00 2001 From: Amit Sharma <74371312+Amit91848@users.noreply.github.com> Date: Fri, 3 May 2024 20:01:04 +0530 Subject: [PATCH] feat: Add reschedule information with booking Read (#14853) --- apps/api/v1/lib/validations/booking.ts | 1 + apps/api/v1/pages/api/docs.ts | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/apps/api/v1/lib/validations/booking.ts b/apps/api/v1/lib/validations/booking.ts index 6b5e84298c..65f73fe8de 100644 --- a/apps/api/v1/lib/validations/booking.ts +++ b/apps/api/v1/lib/validations/booking.ts @@ -82,4 +82,5 @@ export const schemaBookingReadPublic = Booking.extend({ metadata: true, status: true, responses: true, + fromReschedule: true, }); diff --git a/apps/api/v1/pages/api/docs.ts b/apps/api/v1/pages/api/docs.ts index fc320d011b..14b947ce0b 100644 --- a/apps/api/v1/pages/api/docs.ts +++ b/apps/api/v1/pages/api/docs.ts @@ -57,6 +57,11 @@ const swaggerHandler = withSwagger({ type: "string", example: "Europe/London", }, + fromReschedule: { + type: "string", + nullable: true, + format: "uuid", + }, attendees: { type: "array", items: {