ScanAlertSettingsModel

  • alertsEnabled
    Type: boolean
    required

    Master opt-in. Defaults false — a scan is silent until enabled

  • channels
    Type: object · AlertChannels
    required

    Per-scan channel overrides. Only the keys that deviate from the account default are stored; an absent key means inherit, not off.

    • email
      Type: boolean

      Email to a verified address on the account

    • inapp
      Type: boolean

      In-app toast while the app is foregrounded

    • push
      Type: boolean

      Remote push notification (app backgrounded/closed)

    • telegram
      Type: boolean

      Telegram message to a linked chat

    • whatsapp
      Type: boolean

      WhatsApp message to an opted-in number

  • cooldownMinutes
    Type: integer | null
    min:  
    0
    required

    Minimum minutes between alerts for this scan. NULL => use the code default

  • createdAt
    Type: string
    required

    ISO timestamp

  • leviathanId
    Type: integer
    required

    The scan this config applies to (== saved_scan.leviathan_id)

  • minNewTickers
    Type: integer | null
    min:  
    1
    required

    Only alert when this many new tickers appear. NULL => use the code default

  • updatedAt
    Type: string
    required

    ISO timestamp