chore: add successRedirectUrl to event-types api v2 (#18136)
* chore: add successRedirectUrl to event-types api v2 * chore: add successRedirectUrl to event-types api v2 patch * chore: add successRedirectUrl to event-types api v2 patch
This commit is contained in:
1 parent
fbe31ad82d
commit
2ace1d1017
3 files changed
+24
-1
No files matched your search
+9
@@ -11,6 +11,7 @@ import {
|
||||
IsBoolean,
|
||||
IsOptional,
|
||||
Min,
|
||||
IsUrl,
|
||||
IsEnum,
|
||||
IsArray,
|
||||
ValidateNested,
|
||||
@@ -381,6 +382,14 @@ export class CreateEventTypeInput_2024_06_14 {
|
||||
@IsBoolean()
|
||||
@DocsPropertyOptional()
|
||||
hideCalendarEventDetails?: boolean;
|
||||
|
||||
@IsOptional()
|
||||
@IsUrl()
|
||||
@DocsPropertyOptional({
|
||||
description: "A valid URL where the booker will redirect to, once the booking is completed successfully",
|
||||
example: "https://masterchief.com/argentina/flan/video/9129412",
|
||||
})
|
||||
successRedirectUrl?: string;
|
||||
}
|
||||
|
||||
export enum HostPriority {
|
||||
|
||||
+9
@@ -15,6 +15,7 @@ import {
|
||||
IsArray,
|
||||
ArrayNotEmpty,
|
||||
ArrayUnique,
|
||||
IsUrl,
|
||||
} from "class-validator";
|
||||
|
||||
import { BookerLayouts_2024_06_14 } from "./booker-layouts.input";
|
||||
@@ -382,6 +383,14 @@ export class UpdateEventTypeInput_2024_06_14 {
|
||||
@IsBoolean()
|
||||
@DocsPropertyOptional()
|
||||
hideCalendarEventDetails?: boolean;
|
||||
|
||||
@IsOptional()
|
||||
@IsUrl()
|
||||
@DocsPropertyOptional({
|
||||
description: "A valid URL where the booker will redirect to, once the booking is completed successfully",
|
||||
example: "https://masterchief.com/argentina/flan/video/9129412",
|
||||
})
|
||||
successRedirectUrl?: string;
|
||||
}
|
||||
|
||||
export class UpdateTeamEventTypeInput_2024_06_14 extends UpdateEventTypeInput_2024_06_14 {
|
||||
|
||||
Reference in new issue
Block a user