mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-17 18:52:30 -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
24 lines
810 B
Python
24 lines
810 B
Python
add_service_data_retention_request = {
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"description": "POST service data retention schema",
|
|
"title": "Add service data retention for notification type api",
|
|
"type": "object",
|
|
"properties": {
|
|
"days_of_retention": {"type": "integer"},
|
|
"notification_type": {"enum": ["sms", "email"]},
|
|
},
|
|
"required": ["days_of_retention", "notification_type"]
|
|
}
|
|
|
|
|
|
update_service_data_retention_request = {
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"description": "POST service data retention schema",
|
|
"title": "Update service data retention for notification type api",
|
|
"type": "object",
|
|
"properties": {
|
|
"days_of_retention": {"type": "integer"},
|
|
},
|
|
"required": ["days_of_retention"]
|
|
}
|