2017-10-19 09:58:23 +01:00
|
|
|
from app.schema_validation.definitions import uuid
|
|
|
|
|
|
2017-09-14 17:54:38 +01:00
|
|
|
add_service_email_reply_to_request = {
|
2022-04-08 17:05:59 +01:00
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
2017-09-14 17:54:38 +01:00
|
|
|
"description": "POST service email reply to address",
|
|
|
|
|
"type": "object",
|
|
|
|
|
"title": "Add new email reply to address for service",
|
|
|
|
|
"properties": {
|
|
|
|
|
"email_address": {"type": "string", "format": "email_address"},
|
2023-08-29 14:54:30 -07:00
|
|
|
"is_default": {"type": "boolean"},
|
2017-09-14 17:54:38 +01:00
|
|
|
},
|
2023-08-29 14:54:30 -07:00
|
|
|
"required": ["email_address", "is_default"],
|
2017-09-14 17:54:38 +01:00
|
|
|
}
|
2017-10-04 14:41:36 +01:00
|
|
|
|
|
|
|
|
|
2017-10-19 09:58:23 +01:00
|
|
|
add_service_sms_sender_request = {
|
2022-04-08 17:05:59 +01:00
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
2017-10-19 09:58:23 +01:00
|
|
|
"description": "POST add service SMS sender",
|
|
|
|
|
"type": "object",
|
|
|
|
|
"title": "Add new SMS sender for service",
|
|
|
|
|
"properties": {
|
|
|
|
|
"sms_sender": {"type": "string"},
|
|
|
|
|
"is_default": {"type": "boolean"},
|
2023-08-29 14:54:30 -07:00
|
|
|
"inbound_number_id": uuid,
|
2017-10-19 09:58:23 +01:00
|
|
|
},
|
2023-08-29 14:54:30 -07:00
|
|
|
"required": ["sms_sender", "is_default"],
|
2017-10-19 10:43:49 +01:00
|
|
|
}
|