mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-23 15:56:45 -04:00
Remove letters-related code (#175)
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
This commit is contained in:
@@ -15,11 +15,10 @@ post_create_template_schema = {
|
||||
"subject": {"type": "string"},
|
||||
"created_by": uuid,
|
||||
"parent_folder_id": uuid,
|
||||
"postage": {"type": "string", "format": "postage"},
|
||||
},
|
||||
"if": {
|
||||
"properties": {
|
||||
"template_type": {"enum": ["email", "letter"]}
|
||||
"template_type": {"enum": ["email"]}
|
||||
}
|
||||
},
|
||||
"then": {"required": ["subject"]},
|
||||
@@ -39,7 +38,6 @@ post_update_template_schema = {
|
||||
"process_type": {"enum": TEMPLATE_PROCESS_TYPE},
|
||||
"content": {"type": "string"},
|
||||
"subject": {"type": "string"},
|
||||
"postage": {"type": "string", "format": "postage"},
|
||||
"reply_to": nullable_uuid,
|
||||
"created_by": uuid,
|
||||
"archived": {"type": "boolean"},
|
||||
|
||||
Reference in New Issue
Block a user