chore: create event-type input lengthInMinutesOptions (#19114)

This commit is contained in:
Morgan
2025-02-05 21:39:16 +02:00
committed by GitHub
parent 510e73b579
commit 5f897837f2
3 changed files with 21 additions and 5 deletions
-2
View File
@@ -8692,7 +8692,6 @@
},
"required": [
"lengthInMinutes",
"lengthInMinutesOptions",
"title",
"slug"
]
@@ -12186,7 +12185,6 @@
},
"required": [
"lengthInMinutes",
"lengthInMinutesOptions",
"title",
"slug",
"schedulingType",
+20 -2
View File
@@ -1189,6 +1189,15 @@
"schema": {
"type": "string"
}
},
{
"name": "hostsLimit",
"required": false,
"in": "query",
"description": "Specifies the maximum number of hosts to include in the response. This limit helps optimize performance. If not provided, all Hosts will be fetched.",
"schema": {
"type": "number"
}
}
],
"responses": {
@@ -5741,6 +5750,15 @@
"schema": {
"type": "string"
}
},
{
"name": "hostsLimit",
"required": false,
"in": "query",
"description": "Specifies the maximum number of hosts to include in the response. This limit helps optimize performance. If not provided, all Hosts will be fetched.",
"schema": {
"type": "number"
}
}
],
"responses": {
@@ -8027,7 +8045,7 @@
"example": "https://masterchief.com/argentina/flan/video/9129412"
}
},
"required": ["lengthInMinutes", "lengthInMinutesOptions", "title", "slug"]
"required": ["lengthInMinutes", "title", "slug"]
},
"OutputAddressLocation_2024_06_14": {
"type": "object",
@@ -11087,7 +11105,7 @@
"description": "If true, all current and future team members will be assigned to this event type"
}
},
"required": ["lengthInMinutes", "lengthInMinutesOptions", "title", "slug", "schedulingType", "hosts"]
"required": ["lengthInMinutes", "title", "slug", "schedulingType", "hosts"]
},
"CreateTeamEventTypeOutput": {
"type": "object",
@@ -129,7 +129,7 @@ export class CreateEventTypeInput_2024_06_14 {
@ArrayUnique()
@IsInt({ each: true })
@Min(1, { each: true })
@DocsProperty({
@DocsPropertyOptional({
example: [15, 30, 60],
description:
"If you want that user can choose between different lengths of the event you can specify them here. Must include the provided `lengthInMinutes`.",