feat: v2 bookings return cancelledBy and rescheduledBy (#19110)

This commit is contained in:
Lauris Skraucis authored and GitHub committed 2025-02-06 12:45:13 +02:00
1 parent 4c32d0c499
commit 695d2c0f39
3 files changed
+118

No files matched your search

@@ -156,12 +156,24 @@ class BaseBookingOutput_2024_08_13 {
@Expose()
cancellationReason?: string;
@ApiPropertyOptional({ type: String, example: "[email protected]" })
@IsEmail()
@IsOptional()
@Expose()
cancelledByEmail?: string;
@ApiPropertyOptional({ type: String, example: "User rescheduled the event" })
@IsString()
@IsOptional()
@Expose()
reschedulingReason?: string;
@ApiPropertyOptional({ type: String, example: "[email protected]" })
@IsEmail()
@IsOptional()
@Expose()
rescheduledByEmail?: string;
@ApiPropertyOptional({ type: String, example: "previous_uid_123" })
@IsString()
@IsOptional()