/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsISupports.idl"

[scriptable, builtinclass, uuid(17890b60-0367-45c6-9729-62e5bf349b2b)]
interface nsIDOMMozSmsFilter : nsISupports
{
  // A date that can return null.
  [implicit_jscontext]
  attribute jsval startDate;

  // A date that can return null.
  [implicit_jscontext]
  attribute jsval endDate;

  // An array of DOMString that can return null.
  [implicit_jscontext]
  attribute jsval numbers;

  // A DOMString that can return and be set to "sent", "received" or null.
  [Null(Empty)]
  attribute DOMString delivery;

  // A read flag that can return and be set to a boolean or null.
  [implicit_jscontext]
  attribute jsval read;

  // A thread id that can return and be set to a numeric value or null.
  [implicit_jscontext]
  attribute jsval threadId;
};
