mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 18:31:13 -05:00
New endpoints to add and update multiple SMS sender for a service.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
from app.schema_validation.definitions import uuid
|
||||
|
||||
add_service_email_reply_to_request = {
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"description": "POST service email reply to address",
|
||||
@@ -22,3 +24,17 @@ add_service_letter_contact_block_request = {
|
||||
},
|
||||
"required": ["contact_block", "is_default"]
|
||||
}
|
||||
|
||||
|
||||
add_service_sms_sender_request = {
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"description": "POST add service SMS sender",
|
||||
"type": "object",
|
||||
"title": "Add new SMS sender for service",
|
||||
"properties": {
|
||||
"sms_sender": {"type": "string"},
|
||||
"is_default": {"type": "boolean"},
|
||||
"inbound_number_id": uuid
|
||||
},
|
||||
"required": ["sms_sender", "is_default"]
|
||||
}
|
||||
Reference in New Issue
Block a user