Skip to content

Scheduling infrastructure for absolutely everyone.

feat: Add reschedule information with booking Read (#14853)

Amit Sharma57b404f721c1
diff --git a/apps/api/v1/lib/validations/booking.ts b/apps/api/v1/lib/validations/booking.ts
index 6b5e84298c9..65f73fe8de9 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 fc320d011b9..14b947ce0bf 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: {