mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
We have a fixture for this event in the repo, but the event was not listed in the supported event types list. It is also documented in the Basecamp API docs here: https://github.com/basecamp/bc3-api/blob/master/sections/webhooks.md
47 lines
1.1 KiB
Python
47 lines
1.1 KiB
Python
DOC_SUPPORT_EVENTS = [
|
|
'document_active',
|
|
'document_created',
|
|
'document_archived',
|
|
'document_unarchived',
|
|
'document_publicized',
|
|
'document_title_changed',
|
|
'document_content_changed',
|
|
'document_trashed',
|
|
'document_publicized',
|
|
]
|
|
|
|
QUESTION_SUPPORT_EVENTS = [
|
|
'question_archived',
|
|
'question_created',
|
|
'question_trashed',
|
|
'question_unarchived',
|
|
'question_answer_archived',
|
|
'question_answer_content_changed',
|
|
'question_answer_created',
|
|
'question_answer_trashed',
|
|
'question_answer_unarchived',
|
|
]
|
|
|
|
MESSAGE_SUPPORT_EVENTS = [
|
|
'message_archived',
|
|
'message_content_changed',
|
|
'message_created',
|
|
'message_subject_changed',
|
|
'message_trashed',
|
|
'message_unarchived',
|
|
'comment_created',
|
|
]
|
|
|
|
TODOS_SUPPORT_EVENTS = [
|
|
'todolist_created',
|
|
'todolist_description_changed',
|
|
'todolist_name_changed',
|
|
'todo_assignment_changed',
|
|
'todo_completed',
|
|
'todo_uncompleted',
|
|
'todo_created',
|
|
'todo_due_on_changed',
|
|
]
|
|
|
|
SUPPORT_EVENTS = DOC_SUPPORT_EVENTS + QUESTION_SUPPORT_EVENTS + MESSAGE_SUPPORT_EVENTS + TODOS_SUPPORT_EVENTS
|