Split up the branding_request endpoint

The endpoint used to handle both email and letter branding, but this
replaces `.branding_request` with `.email_branding_request` and
`.letter_branding_request` instead. This is in preparation for changing
how email branding works.

The `from_template` arg was only possible for letter branding, so I've
removed that from the `.email_branding_request` endpoint.
This commit is contained in:
Katie Smith
2022-01-19 15:39:05 +00:00
parent caccbb98d8
commit 4226193346
7 changed files with 80 additions and 45 deletions

View File

@@ -33,7 +33,6 @@ EXCLUDED_ENDPOINTS = tuple(map(Navigation.get_endpoint_with_blueprint, {
'begin_tour',
'billing_details',
'branding_and_customisation',
'branding_request',
'broadcast',
'broadcast_dashboard',
'broadcast_dashboard_previous',
@@ -112,6 +111,7 @@ EXCLUDED_ENDPOINTS = tuple(map(Navigation.get_endpoint_with_blueprint, {
'edit_user_mobile_number',
'edit_user_permissions',
'email_branding',
'email_branding_request',
'email_not_received',
'email_template',
'error',
@@ -145,6 +145,7 @@ EXCLUDED_ENDPOINTS = tuple(map(Navigation.get_endpoint_with_blueprint, {
'invite_org_user',
'invite_user',
'letter_branding',
'letter_branding_request',
'letter_spec',
'letter_specification',
'letter_template',