forked from DGNum/uptime-kuma-api
feat: add support for uptime kuma 1.18.3
This commit is contained in:
parent
b4aa04bec5
commit
c8529d65c3
1 changed files with 13 additions and 8 deletions
|
@ -38,12 +38,13 @@ class NotificationType(str, Enum):
|
|||
LINENOTIFY = "LineNotify"
|
||||
BARK = "Bark"
|
||||
GOALERT = "GoAlert"
|
||||
NTFY = "ntfy"
|
||||
OCTOPUSH = "octopush"
|
||||
SERVERCHAN = "ServerChan"
|
||||
SMSMANAGER = "SMSManager"
|
||||
SQUADCAST = "squadcast"
|
||||
TEAMS = "teams"
|
||||
FREEMOBILE = "FreeMobile"
|
||||
NTFY = "ntfy"
|
||||
|
||||
|
||||
notification_provider_options = {
|
||||
|
@ -237,13 +238,6 @@ notification_provider_options = {
|
|||
"goAlertBaseURL",
|
||||
"goAlertToken",
|
||||
],
|
||||
NotificationType.NTFY: [
|
||||
"ntfyusername",
|
||||
"ntfypassword",
|
||||
"ntfytopic",
|
||||
"ntfyPriority",
|
||||
"ntfyserverurl",
|
||||
],
|
||||
NotificationType.OCTOPUSH: [
|
||||
"octopushVersion",
|
||||
"octopushAPIKey",
|
||||
|
@ -271,6 +265,17 @@ notification_provider_options = {
|
|||
NotificationType.TEAMS: [
|
||||
"webhookUrl",
|
||||
],
|
||||
NotificationType.FREEMOBILE: [
|
||||
"freemobileUser",
|
||||
"freemobilePass",
|
||||
],
|
||||
NotificationType.NTFY: [
|
||||
"ntfyusername",
|
||||
"ntfypassword",
|
||||
"ntfytopic",
|
||||
"ntfyPriority",
|
||||
"ntfyserverurl",
|
||||
],
|
||||
}
|
||||
|
||||
notification_provider_conditions = {
|
||||
|
|
Loading…
Reference in a new issue