mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-17 19:36:28 +02:00
@@ -35,6 +35,10 @@ class NotificationProviderBase(BaseModel):
|
||||
on_print_failed: bool = Field(default=True, description="Notify on print failed")
|
||||
on_print_stopped: bool = Field(default=True, description="Notify when print is stopped/cancelled")
|
||||
on_print_progress: bool = Field(default=False, description="Notify at 25%, 50%, 75% progress")
|
||||
on_print_missing_spool_assignment: bool = Field(
|
||||
default=False,
|
||||
description="Notify when a print starts with required trays missing spool assignments",
|
||||
)
|
||||
|
||||
# Event triggers - printer status
|
||||
on_printer_offline: bool = Field(default=False, description="Notify when printer goes offline")
|
||||
@@ -119,6 +123,7 @@ class NotificationProviderUpdate(BaseModel):
|
||||
on_print_failed: bool | None = None
|
||||
on_print_stopped: bool | None = None
|
||||
on_print_progress: bool | None = None
|
||||
on_print_missing_spool_assignment: bool | None = None
|
||||
|
||||
# Event triggers - printer status
|
||||
on_printer_offline: bool | None = None
|
||||
|
||||
Reference in New Issue
Block a user