thunderbird_accounts.support.views

Functions

contact_fields(request)

Get ticket fields from Zendesk API and filter based on Zendesk Admin.

contact_submit(request)

Uses Zendesk's Requests API to create a ticket Ref https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#tickets-and-requests

get_plan_status_for_zendesk(user)

Map a user's subscriptions to the Thundermail plan status values used by the Zendesk user field.

thunderbird_accounts.support.views.get_plan_status_for_zendesk(user: User) → str[source]

Map a user’s subscriptions to the Thundermail plan status values used by the Zendesk user field.

thunderbird_accounts.support.views.contact_fields(request: HttpRequest)

Get ticket fields from Zendesk API and filter based on Zendesk Admin.

thunderbird_accounts.support.views.contact_submit(request: HttpRequest)

Uses Zendesk’s Requests API to create a ticket Ref https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#tickets-and-requests