mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 15:31:15 -05:00
This deletes a big ol' chunk of code related to letters. It's not everything—there are still a few things that might be tied to sms/email—but it's the the heart of letters function. SMS and email function should be untouched by this. Areas affected: - Things obviously about letters - PDF tasks, used for precompiling letters - Virus scanning, used for those PDFs - FTP, used to send letters to the printer - Postage stuff
28 lines
886 B
Python
28 lines
886 B
Python
from app.schema_validation.definitions import uuid
|
|
|
|
add_service_email_reply_to_request = {
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"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"},
|
|
"is_default": {"type": "boolean"}
|
|
},
|
|
"required": ["email_address", "is_default"]
|
|
}
|
|
|
|
|
|
add_service_sms_sender_request = {
|
|
"$schema": "http://json-schema.org/draft-07/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"]
|
|
}
|