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"
|
LINENOTIFY = "LineNotify"
|
||||||
BARK = "Bark"
|
BARK = "Bark"
|
||||||
GOALERT = "GoAlert"
|
GOALERT = "GoAlert"
|
||||||
NTFY = "ntfy"
|
|
||||||
OCTOPUSH = "octopush"
|
OCTOPUSH = "octopush"
|
||||||
SERVERCHAN = "ServerChan"
|
SERVERCHAN = "ServerChan"
|
||||||
SMSMANAGER = "SMSManager"
|
SMSMANAGER = "SMSManager"
|
||||||
SQUADCAST = "squadcast"
|
SQUADCAST = "squadcast"
|
||||||
TEAMS = "teams"
|
TEAMS = "teams"
|
||||||
|
FREEMOBILE = "FreeMobile"
|
||||||
|
NTFY = "ntfy"
|
||||||
|
|
||||||
|
|
||||||
notification_provider_options = {
|
notification_provider_options = {
|
||||||
|
@ -237,13 +238,6 @@ notification_provider_options = {
|
||||||
"goAlertBaseURL",
|
"goAlertBaseURL",
|
||||||
"goAlertToken",
|
"goAlertToken",
|
||||||
],
|
],
|
||||||
NotificationType.NTFY: [
|
|
||||||
"ntfyusername",
|
|
||||||
"ntfypassword",
|
|
||||||
"ntfytopic",
|
|
||||||
"ntfyPriority",
|
|
||||||
"ntfyserverurl",
|
|
||||||
],
|
|
||||||
NotificationType.OCTOPUSH: [
|
NotificationType.OCTOPUSH: [
|
||||||
"octopushVersion",
|
"octopushVersion",
|
||||||
"octopushAPIKey",
|
"octopushAPIKey",
|
||||||
|
@ -271,6 +265,17 @@ notification_provider_options = {
|
||||||
NotificationType.TEAMS: [
|
NotificationType.TEAMS: [
|
||||||
"webhookUrl",
|
"webhookUrl",
|
||||||
],
|
],
|
||||||
|
NotificationType.FREEMOBILE: [
|
||||||
|
"freemobileUser",
|
||||||
|
"freemobilePass",
|
||||||
|
],
|
||||||
|
NotificationType.NTFY: [
|
||||||
|
"ntfyusername",
|
||||||
|
"ntfypassword",
|
||||||
|
"ntfytopic",
|
||||||
|
"ntfyPriority",
|
||||||
|
"ntfyserverurl",
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
notification_provider_conditions = {
|
notification_provider_conditions = {
|
||||||
|
|
Loading…
Reference in a new issue