feat: v2 bookings return rescheduledToUid (#22289)
This commit is contained in:
1 parent
64305ffee1
commit
94a537bfda
6 files changed
+132
-34
No files matched your search
@@ -174,12 +174,26 @@ class BaseBookingOutput_2024_08_13 {
|
||||
@Expose()
|
||||
rescheduledByEmail?: string;
|
||||
|
||||
@ApiPropertyOptional({ type: String, example: "previous_uid_123" })
|
||||
@ApiPropertyOptional({
|
||||
type: String,
|
||||
example: "previous_uid_123",
|
||||
description: "UID of the previous booking from which this booking was rescheduled.",
|
||||
})
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
@Expose()
|
||||
rescheduledFromUid?: string;
|
||||
|
||||
@ApiPropertyOptional({
|
||||
type: String,
|
||||
example: "new_uid_456",
|
||||
description: "UID of the new booking to which this booking was rescheduled.",
|
||||
})
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
@Expose()
|
||||
rescheduledToUid?: string;
|
||||
|
||||
@ApiProperty({ type: String, example: "2024-08-13T15:30:00Z" })
|
||||
@IsDateString()
|
||||
@Expose()
|
||||
|
||||
Reference in new issue
Block a user