fix: v2 slots timeZone parameter (#18488)

* fix: v2 slots timeZone parameter

* test: v2 slots
This commit is contained in:
Lauris Skraucis authored and GitHub committed 2025-01-07 15:24:20 +05:30
1 parent 408aee5851
commit 9159c591ff
10 files changed
+638 -66

No files matched your search

+7 -2
View File
@@ -37,7 +37,10 @@ export class GetAvailableSlotsInput {
@IsString()
@IsOptional()
@ApiPropertyOptional({ description: "Slug of the event type for which slots are being fetched." })
@ApiPropertyOptional({
description:
"Slug of the event type for which slots are being fetched. If event slug is provided then username must be provided too as query parameter `usernameList[]=username`",
})
eventTypeSlug?: string;
@IsArray()
@@ -45,7 +48,9 @@ export class GetAvailableSlotsInput {
@IsOptional()
@ApiPropertyOptional({
type: [String],
description: "Only for dynamic events - list of usernames for which slots are being fetched.",
description:
"Only if eventTypeSlug is provided or for dynamic events - list of usernames for which slots are being fetched.",
example: "usernameList[]=bob",
})
usernameList?: string[];