Contact: ontvangstadres uit de site-instellingen (instelling > env), PUT /contact-settings/recipient en Berichten-veld (CMS-U11)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-10 23:54:03 +01:00
co-authored by Claude Sonnet 5.5
parent 9ff5c8bd94
commit 62f4d4dfe0
29 changed files with 1165 additions and 24 deletions
+81
View File
@@ -344,6 +344,16 @@
},
"hostEnabled": {
"type": "boolean"
},
"recipientEmail": {
"type": [
"null",
"string"
]
},
"recipientSource": {
"default": "none",
"type": "string"
}
},
"required": [
@@ -693,6 +703,20 @@
],
"type": "object"
},
"UpdateContactRecipientRequest": {
"properties": {
"recipientEmail": {
"type": [
"null",
"string"
]
}
},
"required": [
"recipientEmail"
],
"type": "object"
},
"UpdateContactSettingsRequest": {
"properties": {
"enabled": {
@@ -2088,6 +2112,63 @@
]
}
},
"/api/v1/contact-settings/recipient": {
"put": {
"requestBody": {
"content": {
"application/*+json": {
"schema": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/UpdateContactRecipientRequest"
}
]
}
},
"application/json": {
"schema": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/UpdateContactRecipientRequest"
}
]
}
}
}
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ContactSettingsDto"
}
}
},
"description": "OK"
},
"400": {
"content": {
"application/problem+json": {
"schema": {
"$ref": "#/components/schemas/ValidationProblemDetails"
}
}
},
"description": "Bad Request"
}
},
"tags": [
"ContactSettings"
]
}
},
"/api/v1/offerings": {
"get": {
"responses": {