fix: create event type with output of another create event type (#21273)
* feat: accept location booking field with label customization * feat: return location label * chore: bump libraries * test * fix: tests
This commit is contained in:
@@ -13687,6 +13687,20 @@
|
||||
},
|
||||
"required": ["slug"]
|
||||
},
|
||||
"LocationDefaultFieldInput_2024_06_14": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"slug": {
|
||||
"type": "string",
|
||||
"example": "location",
|
||||
"description": "only allowed value for type is `location`. This booking field is displayed only when event type has 2 or more locations in order to allow person doing the booking pick the location."
|
||||
},
|
||||
"label": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["slug"]
|
||||
},
|
||||
"NotesDefaultFieldInput_2024_06_14": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -13871,6 +13885,9 @@
|
||||
{
|
||||
"$ref": "#/components/schemas/TitleDefaultFieldInput_2024_06_14"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/LocationDefaultFieldInput_2024_06_14"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/NotesDefaultFieldInput_2024_06_14"
|
||||
},
|
||||
@@ -14429,6 +14446,9 @@
|
||||
"hidden": {
|
||||
"type": "boolean",
|
||||
"description": "If true show under event type settings but don't show this booking field in the Booker. If false show in both."
|
||||
},
|
||||
"label": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["isDefault", "slug", "type", "required", "hidden"]
|
||||
@@ -14438,7 +14458,7 @@
|
||||
"properties": {
|
||||
"slug": {
|
||||
"type": "string",
|
||||
"enum": ["name", "email", "title", "notes", "guests"],
|
||||
"enum": ["title", "location", "notes", "guests", "rescheduleReason"],
|
||||
"example": "rescheduleReason",
|
||||
"description": "only allowed value for type is `rescheduleReason`",
|
||||
"default": "rescheduleReason"
|
||||
@@ -14478,7 +14498,7 @@
|
||||
"properties": {
|
||||
"slug": {
|
||||
"type": "string",
|
||||
"enum": ["name", "email", "title", "notes", "guests"],
|
||||
"enum": ["title", "location", "notes", "guests", "rescheduleReason"],
|
||||
"example": "title",
|
||||
"description": "only allowed value for type is `title`",
|
||||
"default": "title"
|
||||
@@ -14518,7 +14538,7 @@
|
||||
"properties": {
|
||||
"slug": {
|
||||
"type": "string",
|
||||
"enum": ["name", "email", "title", "notes", "guests"],
|
||||
"enum": ["title", "location", "notes", "guests", "rescheduleReason"],
|
||||
"example": "notes",
|
||||
"description": "only allowed value for type is `notes`",
|
||||
"default": "notes"
|
||||
@@ -14558,7 +14578,7 @@
|
||||
"properties": {
|
||||
"slug": {
|
||||
"type": "string",
|
||||
"enum": ["name", "email", "title", "notes", "guests"],
|
||||
"enum": ["title", "location", "notes", "guests", "rescheduleReason"],
|
||||
"example": "guests",
|
||||
"description": "only allowed value for type is `guests`",
|
||||
"default": "guests"
|
||||
@@ -15656,6 +15676,9 @@
|
||||
{
|
||||
"$ref": "#/components/schemas/TitleDefaultFieldInput_2024_06_14"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/LocationDefaultFieldInput_2024_06_14"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/NotesDefaultFieldInput_2024_06_14"
|
||||
},
|
||||
@@ -17205,6 +17228,9 @@
|
||||
{
|
||||
"$ref": "#/components/schemas/TitleDefaultFieldInput_2024_06_14"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/LocationDefaultFieldInput_2024_06_14"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/NotesDefaultFieldInput_2024_06_14"
|
||||
},
|
||||
@@ -17996,6 +18022,9 @@
|
||||
{
|
||||
"$ref": "#/components/schemas/TitleDefaultFieldInput_2024_06_14"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/LocationDefaultFieldInput_2024_06_14"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/NotesDefaultFieldInput_2024_06_14"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user